Skip to content
Snippets Groups Projects

Cell distri

Merged Remi PLANEL requested to merge cell-distri into dev
9 files
+ 274
162
Compare changes
  • Side-by-side
  • Inline

Files

+ 12
12
@@ -13,23 +13,23 @@ import { useDisplay, useTheme } from "vuetify";
const { navigation, page } = useContent();
// const drawer = ref(true);
// const computedNavigation = computed(() => {
// return navigation.value
// .filter((item: { layout: string }) => {
// if (item?.layout === "db") {
// console.log(item)
// return false
// }
// return true
// // return item?.layout !== "db"
// })
const computedNavigation = computed(() => {
return navigation.value
.filter((item: { layout: string }) => {
if (item?.layout === "db") {
console.log(item)
return false
}
return true
// return item?.layout !== "db"
})
// });
});
</script>
<template>
<v-navigation-drawer :model-value="drawer" :border="1" color="background">
<v-list nav density="compact" :lines="false">
<NavNavigation :navigation="navigation" />
<NavNavigation :navigation="computedNavigation" />
</v-list>
</v-navigation-drawer>
</template>
\ No newline at end of file
Loading