diff --git a/front/src/components/library/Albums.vue b/front/src/components/library/Albums.vue index ef7abbb46..946998a22 100644 --- a/front/src/components/library/Albums.vue +++ b/front/src/components/library/Albums.vue @@ -96,7 +96,7 @@ const fetchData = async () => { } const store = useStore() -watch(store.state.moderation.lastUpdate, fetchData) +watch(() => store.state.moderation.lastUpdate, fetchData) onBeforeRouteUpdate(fetchData) fetchData() diff --git a/front/src/components/library/Artists.vue b/front/src/components/library/Artists.vue index 361b12bdb..15f6a28bc 100644 --- a/front/src/components/library/Artists.vue +++ b/front/src/components/library/Artists.vue @@ -99,7 +99,7 @@ const fetchData = async () => { } const store = useStore() -watch([store.state.moderation.lastUpdate, excludeCompilation], fetchData) +watch([() => store.state.moderation.lastUpdate, excludeCompilation], fetchData) onBeforeRouteUpdate(fetchData) fetchData() diff --git a/front/src/components/library/Home.vue b/front/src/components/library/Home.vue index db7a0112e..9de4c718e 100644 --- a/front/src/components/library/Home.vue +++ b/front/src/components/library/Home.vue @@ -1,6 +1,6 @@