GF-6, #8 Added auth.
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
This commit is contained in:
parent
e8818d6eaa
commit
10e4363cbd
60 changed files with 4855 additions and 160 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { useAuthStore } from "~/stores/auth";
|
||||
import DefaultSidebar from "~/layouts/default/Sidebar.vue";
|
||||
|
||||
import { SidebarInset, SidebarProvider, SidebarTrigger } from "~/components/ui/sidebar";
|
||||
|
|
@ -19,11 +20,14 @@ import { useRuntimeConfig } from "#app";
|
|||
const currentYear = new Date().getFullYear();
|
||||
|
||||
const config = useRuntimeConfig();
|
||||
|
||||
const authStore = useAuthStore();
|
||||
await authStore.init();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<SidebarProvider>
|
||||
<DefaultSidebar />
|
||||
<DefaultSidebar :user="authStore.user" />
|
||||
<SidebarInset>
|
||||
<header class="flex h-12 shrink-0 items-center gap-2 border-b px-4">
|
||||
<SidebarTrigger class="-ml-1" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue