fix previous commit
This commit is contained in:
parent
392640adf3
commit
077fa4e326
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@
|
|||
</nav>
|
||||
<footer class="w-full">
|
||||
<ul class="flex">
|
||||
<li data-icon="user" v-if="user.role !== 'client'">
|
||||
<li data-icon="user" v-if="user?.role !== 'client'">
|
||||
<router-link to="/profil">Profil</router-link>
|
||||
</li>
|
||||
<li data-icon="logout">
|
||||
|
|
@ -98,7 +98,7 @@ import { useUserStore } from "../stores/user";
|
|||
|
||||
const route = useRoute();
|
||||
const isExpanded = ref(true);
|
||||
const { user } = useUserStore();
|
||||
const { user } = storeToRefs(useUserStore());
|
||||
const { currentProjects, archivedProjects } = storeToRefs(useProjectsStore());
|
||||
|
||||
const mainItems = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue