Skip to content
Snippets Groups Projects

Merge relevant Abstract and references

Merged Remi PLANEL requested to merge structure-db-with-molstar into dev

Files

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