diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index daf1e7807a2fed0c3d2df849398829e9b76ceac4..3bff11c094ec04bce7a87aed08e5e9b5e6e8a785 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -324,7 +324,7 @@ build:dev:wiki: BASE_URL: /wiki/ before_script: - *docker-login - - "sed -i 's/MEILISEARCH_API_KEY/${$MEILI_API_KEY}/g' nuxt.config.ts" + # - "sed -i 's/MEILISEARCH_API_KEY/${$MEILI_API_KEY}/g' nuxt.config.ts" rules: - if: $CI_COMMIT_BRANCH != "main" diff --git a/Dockerfile b/Dockerfile index 89974700ee049bd4c4047670cb38843becc2f456..b3c9baec578099e63acfa53f4d2ecf6042283974 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ ARG BASE_URL=/ ARG MEILI_HOST=http://localhost:7700 ARG MEILI_API_KEY -ENV NODE_OPTIONS=--max_old_space_size=8192 +ENV NODE_OPTIONS=--max_old_space_size=12288 ENV NUXT_APP_BASE_URL=${BASE_URL} # nuxt module diff --git a/components/Nav/Drawer.vue b/components/Nav/Drawer.vue index da27d8d1d5b978c88dda4f82f19c0428a2dfcf98..78cc918caf6c964aa57bdc70aa11e1304170585c 100644 --- a/components/Nav/Drawer.vue +++ b/components/Nav/Drawer.vue @@ -13,18 +13,19 @@ import { useDisplay, useTheme } from "vuetify"; const { navigation } = useContent(); // const drawer = ref(true); -// const computedNavigation = computed(() => { -// return navigation.value -// .filter(({ _path }) => { -// return _path !== "/refseq"; -// }) +const computedNavigation = computed(() => { + console.log(navigation.value) + return navigation.value + .filter(({ layout }) => { + return 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 diff --git a/components/ServerDbTable.vue b/components/ServerDbTable.vue index b70ead216b37e6b15b85e4b67ae3f551ef2b98c7..869ecc6dd5e5064ddf842afa1e04de7dae2d02bc 100644 --- a/components/ServerDbTable.vue +++ b/components/ServerDbTable.vue @@ -188,7 +188,6 @@ watch(filterInputValues, (newSoF) => { watch(search, () => { searchOrFilter() }) - const filterStep = computed(() => { return filterInputValues.value !== null && filterInputValues.value.length > 0 ? filterInputValues.value?.length % 3 : null }) diff --git a/content/4.refseq.md b/content/4.refseq.md index f55ac77a3f87a98d2d22d0302d08f8f407898798..58938a5d35d7468205c81ce73ca86a082dda3140 100644 --- a/content/4.refseq.md +++ b/content/4.refseq.md @@ -1,12 +1,8 @@ --- layout: db -navigation: false --- - - - ::refseq-db :: diff --git a/content/5.predicted-structure.md b/content/5.predicted-structure.md index 859a7b74f16fa183f2e26839650e482ef3be0eec..d0350a3f72f0b9ebec5a488954dcd683925f8fb5 100644 --- a/content/5.predicted-structure.md +++ b/content/5.predicted-structure.md @@ -1,9 +1,7 @@ --- layout: db -navigation: false --- - ::structure-db :: \ No newline at end of file diff --git a/pages/[...slug].vue b/pages/[...slug].vue index 7fa8469ba5e0b03e3c1f21cd3218aac9afeffd25..6afff5a4bfe86b353f2c4aefbb20a06983900740 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -1,8 +1,6 @@ <template> - - <v-card-text> - <ContentDoc /> - </v-card-text> - + <v-card-text> + <ContentDoc /> + </v-card-text> </template>