Skip to content
Snippets Groups Projects
Commit c382702a authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

filter navigation on layout

parent 8fd55726
No related branches found
No related tags found
No related merge requests found
Pipeline #117604 passed with stages
in 7 minutes and 6 seconds
......@@ -14,9 +14,10 @@ const { navigation } = useContent();
// const drawer = ref(true);
const computedNavigation = computed(() => {
console.log(navigation.value)
return navigation.value
.filter(({ _path }) => {
return _path !== "/refseq" || _path !== "/predicted-structure";
.filter(({ layout }) => {
return layout !== "db"
})
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment