diff --git a/taxonium_component/src/components/SearchPanel.jsx b/taxonium_component/src/components/SearchPanel.jsx index 58e4ece8..12cd624d 100644 --- a/taxonium_component/src/components/SearchPanel.jsx +++ b/taxonium_component/src/components/SearchPanel.jsx @@ -271,7 +271,7 @@ function SearchPanel({ > )}
- {config.enabled_by_gisaid && + {config.enabled_by_gisaid && Enabled by data from . } )} diff --git a/taxonium_component/src/utils/processNextstrain.js b/taxonium_component/src/utils/processNextstrain.js index 6e15c951..5038fe4c 100644 --- a/taxonium_component/src/utils/processNextstrain.js +++ b/taxonium_component/src/utils/processNextstrain.js @@ -424,14 +424,14 @@ async function json_to_tree(json) { json.meta.data_provenance.map((source) => source.name).join(" & "); } - if (config.source.includes("GISAID")){ - config.enabled_by_gisaid = true + if (config.source.includes("GISAID")) { + config.enabled_by_gisaid = true; } config.overlay = `This is a tree extracted from a Nextstrain JSON file, being visualised in Taxonium.
.`; - if(json.meta.description){ - config.overlay = config.overlay+""+json.meta.description+"
"; - } + if (json.meta.description) { + config.overlay = config.overlay + "" + json.meta.description + "
"; + } if (json.meta && json.meta.updated) { config.source = config.source + " in a tree built on " + json.meta.updated;