apply debug changes

This commit is contained in:
mohadese namavar
2024-07-07 14:16:58 +04:30
parent cb86fa4278
commit c1762c0083
11 changed files with 321 additions and 210 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
export default () => {
const store = useUserStore()
const token = useCookie('token')
return reactive({
btns: {
@@ -41,7 +41,7 @@ export default () => {
},
},
profile: {
to: computed(() => store.token ? '/panel/profile' : '/auth/login'),
to: computed(() => token.value ? '/panel/profile' : '/auth/login'),
props: {
icon: "isax isax-user", rounded: true, severity: "secondary", text: true,
},