From bdd5b239eb480c135a8dc3149cb1a855a7d9917f Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 2 Jul 2024 23:59:15 +0200 Subject: [PATCH] tested `dedupe: "cancel` --- webclient/components/AppSearchBar.vue | 2 +- webclient/pages/[view]/[id].vue | 2 +- webclient/pages/search.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webclient/components/AppSearchBar.vue b/webclient/components/AppSearchBar.vue index b652f7025..6e39a6bf5 100644 --- a/webclient/components/AppSearchBar.vue +++ b/webclient/components/AppSearchBar.vue @@ -116,7 +116,7 @@ const url = computed(() => { }); const { data, error } = await useFetch(url, { key: "search", - dedupe: "defer", + dedupe: "cancel", deep: false, retry: 120, retryDelay: 5000, diff --git a/webclient/pages/[view]/[id].vue b/webclient/pages/[view]/[id].vue index 97c04bdae..d1bae0951 100644 --- a/webclient/pages/[view]/[id].vue +++ b/webclient/pages/[view]/[id].vue @@ -25,7 +25,7 @@ const runtimeConfig = useRuntimeConfig(); const url = computed(() => `${runtimeConfig.public.apiURL}/api/get/${route.params.id}?lang=${locale.value}`); const { data, error } = useFetch(url, { key: "details", - dedupe: "defer", + dedupe: "cancel", deep: false, retry: 120, retryDelay: 5000, diff --git a/webclient/pages/search.vue b/webclient/pages/search.vue index 13160414c..e08ecf378 100644 --- a/webclient/pages/search.vue +++ b/webclient/pages/search.vue @@ -31,7 +31,7 @@ const apiUrl = computed(() => { }); const { data } = useFetch(apiUrl, { key: "search", - dedupe: "defer", + dedupe: "cancel", deep: false, retry: 120, retryDelay: 5000,