From a60ca58a0a35d72fa92403ed1b08b418da816d3f Mon Sep 17 00:00:00 2001 From: Marco Cano Date: Thu, 25 Jan 2024 14:43:06 -0800 Subject: [PATCH] fix: :hammer: hide coverage per portal, add nde filters --- nuxt-app/components/ResourceRegistryItem.vue | 5 ++++- nuxt-app/pages/dataset/index.vue | 9 +++++++++ nuxt-app/pages/portal/[portal_name]/index.vue | 2 +- nuxt-app/store/modules/portals.js | 5 +++++ 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/nuxt-app/components/ResourceRegistryItem.vue b/nuxt-app/components/ResourceRegistryItem.vue index e839120f..6b194a53 100644 --- a/nuxt-app/components/ResourceRegistryItem.vue +++ b/nuxt-app/components/ResourceRegistryItem.vue @@ -65,6 +65,7 @@ import dde from "~~/assets/img/dde-logo-o.svg"; import n3cLogo from "~~/assets/img/N3Co.png"; import niaidIcon from "~~/assets/img/niaid/icon.svg"; import outbreakIcon from "~~/assets/img/icon-01.svg"; +import nde from "~~/assets/img/niaid/nde.svg"; export default { name: "ResourceRegistryItem", @@ -125,7 +126,9 @@ export default { return outbreakIcon; } else if (guide.includes("n3c")) { return n3cLogo; - } else { + } else if (guide.includes("nde")){ + return nde + }else { return dde; } }, diff --git a/nuxt-app/pages/dataset/index.vue b/nuxt-app/pages/dataset/index.vue index ce068017..19812147 100644 --- a/nuxt-app/pages/dataset/index.vue +++ b/nuxt-app/pages/dataset/index.vue @@ -324,6 +324,7 @@ import dde from "~~/assets/img/dde-logo-o.svg"; import n3cLogo from "~~/assets/img/N3Co.png"; import niaidIcon from "~~/assets/img/niaid/icon.svg"; import outbreakIcon from "~~/assets/img/icon-01.svg"; +import nde from "~~/assets/img/niaid/nde.svg"; import { mapGetters } from "vuex"; @@ -406,6 +407,14 @@ export default { icon: outbreakIcon, type: "_meta.guide", }, + { + name: "NDE:ResourceCatalog", + value: "/guide/nde/ResourceCatalog", + template_aliases: ["nde:resourcecatalog"], + active: false, + icon: nde, + type: "_meta.guide", + }, { name: "NIAID:Dataset", value: "/guide/niaid", diff --git a/nuxt-app/pages/portal/[portal_name]/index.vue b/nuxt-app/pages/portal/[portal_name]/index.vue index 2a768043..377c5d41 100644 --- a/nuxt-app/pages/portal/[portal_name]/index.vue +++ b/nuxt-app/pages/portal/[portal_name]/index.vue @@ -263,7 +263,7 @@ useHead({
-
+