From b6a0437416131e20b31e5779cd8b73310feee11d Mon Sep 17 00:00:00 2001 From: silvester-pari Date: Wed, 18 Oct 2023 14:31:11 +0000 Subject: [PATCH] fix: adaptations for themes array --- app/src/store/modules/indicators.js | 4 ++-- app/src/views/Dashboard.vue | 13 ++----------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/app/src/store/modules/indicators.js b/app/src/store/modules/indicators.js index b8eeaacdb8..ccff057a7d 100644 --- a/app/src/store/modules/indicators.js +++ b/app/src/store/modules/indicators.js @@ -57,7 +57,7 @@ const actions = { const indicators = []; data.links.forEach((link) => { if (link.rel === 'child') { - let themes = link.themes.split(','); + let { themes } = link; if (themes && rootState.config.baseConfig.themeOverwrite) { const overwrite = rootState.config.baseConfig.themeOverwrite; const updated = []; @@ -68,7 +68,7 @@ const actions = { updated.push(t); } }); - themes = updated.join(','); + themes = updated; } let resultIndicator = { type: 'stac', diff --git a/app/src/views/Dashboard.vue b/app/src/views/Dashboard.vue index fba518679e..5c02fa6bdb 100644 --- a/app/src/views/Dashboard.vue +++ b/app/src/views/Dashboard.vue @@ -29,12 +29,12 @@ subheader='["keywords"]' properties='["themes", "satellite", "sensor", "agency"]' featured='["description", "providers", "extent", "sci:publications"]' - footer='["sci:citation", "sci:doi"]' + footer='["sci:citation"]' >