Show static visualizations only on overview page

This commit is contained in:
Patrick Jentsch 2023-07-17 12:35:53 +02:00
parent 9da1a6e987
commit e46f0032bd
2 changed files with 5 additions and 3 deletions

View File

@ -63,7 +63,7 @@ class CorpusAnalysisApp {
// Initialize extensions
for (const extension of Object.values(this.extensions)) {
statusTextElement.innerHTML += `<br>Initializing extension ${extension.name}...`;
statusTextElement.innerHTML += `<br>Initializing ${extension.name} extension...`;
await extension.init();
statusTextElement.innerText += ' Done'
}

View File

@ -32,10 +32,12 @@
</div>
{% endfor %}
</div>
{{ static_visualization_extension.container_content }}
</div>
{% for extension in extensions %}
{% for extension in extensions if extension.name != 'Static Visualization' %}
<div id="{{ extension.id_prefix }}-container">
{{ extension.container_content }}
</div>