diff --git a/components/haditha/CardList.vue b/components/haditha/CardList.vue index 8b36b42..93767ae 100644 --- a/components/haditha/CardList.vue +++ b/components/haditha/CardList.vue @@ -69,6 +69,7 @@ const goToLibraryShow = (item) => {
{{ item?._source?.title }}
+ جلد {{ item?._source?.vol_title + item?._source?.vol_num }}
diff --git a/components/haditha/search-page/SearchList.vue b/components/haditha/search-page/SearchList.vue index bcd42df..c15de52 100644 --- a/components/haditha/search-page/SearchList.vue +++ b/components/haditha/search-page/SearchList.vue @@ -20,6 +20,7 @@ const props = defineProps({ default: "", }, }); +const emit = defineEmits(["on-bookmard-removed"]); const router = useRouter(); const route = useRoute(); @@ -76,6 +77,7 @@ const removeFromFavorites = async (item = {}, index = 0) => { title: item?._source?.title, }; httpService.postRequest(url, formData).then((res) => { + emit("on-bookmard-removed", index); // this.updateListAnswer(index, "tbookmark", 0); }); }; @@ -104,7 +106,7 @@ const removeFromFavorites = async (item = {}, index = 0) => {