diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue index 5e10e78fbc94271dc18c61569d7e74f0d7c4879b..f8538104cbc07bc70f5303853dcde4cbe6a8e6ec 100644 --- a/components/content/ArticleSystemDistributionPlot.vue +++ b/components/content/ArticleSystemDistributionPlot.vue @@ -52,15 +52,10 @@ const axisOptions = ref<string[]>(["percent", "size"]) const plotY = ref<string>("percent") const plotFill = ref<string>("size") -const plotLabelPercent = ref<string>(`% of genomes encoding ${toValue(page)?.title ?? 'the system'}`) -const plotLabelCount = ref<string>(`Nb of genomes encoding ${toValue(page)?.title ?? 'the system'}`) +const plotLabelPercent = ref<string>('% of genomes') +const plotLabelCount = ref<string>('Nb genomes') -// onBeforeMount(() => { -// fetchSystemHits() -// fetchRefSeqTaxo() -// }) - onMounted(() => { fetchSystemHits() fetchRefSeqTaxo() diff --git a/components/content/pdockqMatrix.vue b/components/content/pdockqMatrix.vue index dbdc73ef16480ff430605c200dd5c25fd56098c9..8596a41d345dc6601f5e974a0ee053cd530d36a3 100644 --- a/components/content/pdockqMatrix.vue +++ b/components/content/pdockqMatrix.vue @@ -50,9 +50,6 @@ onMounted(async () => { } catch (error) { throw createError("Error while getting structure pdocks") } - - - }) @@ -61,15 +58,6 @@ const computedSystem = computed(() => { return toValPage?.system ?? toValPage?.title ?? undefined }) -// const computedSystem = computed(() => { -// const toValSystem = toValue(system) -// if (toValSystem === null) { -// return toValue(systemName).toLowerCase() ?? null -// } -// else { -// return toValSystem -// } -// }) const groupedPdocks = computed(() => {