apply debug changes
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user