generated from Flycro/laravel-nuxt
wip: Remove Admin Menu for now
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e97c3bcf83
commit
8d276ee0d7
|
|
@ -22,7 +22,7 @@ const links: NavigationTree[] = [
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
if (authStore.user?.roles.includes('admin')) {
|
/* if (authStore.user?.roles.includes('admin')) {
|
||||||
links.push({
|
links.push({
|
||||||
label: 'Admin',
|
label: 'Admin',
|
||||||
to: '/admin',
|
to: '/admin',
|
||||||
|
|
@ -40,7 +40,7 @@ if (authStore.user?.roles.includes('admin')) {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
}
|
} */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
@ -11,13 +11,13 @@ const links = [{
|
||||||
icon: 'i-heroicons-arrow-left-on-rectangle',
|
icon: 'i-heroicons-arrow-left-on-rectangle',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
if (authStore.user?.roles.includes('admin')) {
|
/* if (authStore.user?.roles.includes('admin')) {
|
||||||
links.push({
|
links.push({
|
||||||
label: 'Admin',
|
label: 'Admin',
|
||||||
to: '/admin',
|
to: '/admin',
|
||||||
icon: 'i-heroicons-cog-solid',
|
icon: 'i-heroicons-cog-solid',
|
||||||
})
|
})
|
||||||
}
|
} */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
Loading…
Reference in New Issue