control side menu
Gitea Actions / Deploy (push) Successful in 2m4s

This commit is contained in:
vadim committed 2026-11-05 09:39:27 +03:00
1 parent c96ef32fe9
commit ef880f0c6b
2 files changed
+18 -9

No files matched your search

+2 -6
View File
@@ -6,6 +6,7 @@ interface Props {
}
const { isAuth } = defineProps<Props>()
const open = defineModel<boolean>('open')
const menu = ref([
{
@@ -23,16 +24,11 @@ const menu = ref([
value: 3,
props: { prependIcon: 'mdi-calendar', to: '/calendar', requiresAuth: true },
},
// {
// title: 'Games',
// value: 4,
// props: { prependIcon: 'mdi-view-dashboard', to: '/games', requiresAuth: false },
// },
])
</script>
<template>
<v-navigation-drawer rounded="0" width="200" persistent permanent class="pt-4">
<v-navigation-drawer v-model="open" rounded="0" width="200" persistent permanent class="pt-4">
<template v-for="item in menu" :key="item.value">
<v-list-item
density="compact"