mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 15:39:15 +02:00
refactor: ♻️ Rewrite state system to use Pinia for composer and auth
This commit is contained in:
parent
a6db9e059d
commit
b510782a30
80 changed files with 999 additions and 1011 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<NavItems
|
||||
:items="
|
||||
sidebarConfig.other.filter((i) =>
|
||||
i.requiresLogin ? !!identity : true
|
||||
i.requiresLogin ? authStore.isSignedIn : true
|
||||
)
|
||||
"
|
||||
/>
|
||||
|
|
@ -33,4 +33,6 @@ import * as m from "~~/paraglide/messages.js";
|
|||
import FooterActions from "./footer/footer-actions.vue";
|
||||
import InstanceHeader from "./instance/instance-header.vue";
|
||||
import NavItems from "./navigation/nav-items.vue";
|
||||
|
||||
const authStore = useAuthStore();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue