fix: skip following feed fetch when all tab is active

This commit is contained in:
Julien Calixte
2026-03-10 16:06:35 +01:00
parent cb15eac854
commit 97c6f01e1c
2 changed files with 11 additions and 2 deletions

View File

@@ -23,8 +23,10 @@ const tab = computed<"all" | "following">({
}),
})
const followingEnabled = computed(() => tab.value === 'following')
const all = usePublicNoteList()
const following = useFollowingNoteList(follows)
const following = useFollowingNoteList(follows, followingEnabled)
</script>
<template>