From 931f9be4102d03554197034433e269a8f9b109e9 Mon Sep 17 00:00:00 2001 From: infacc Date: Thu, 17 Aug 2023 13:43:06 +0200 Subject: [PATCH 1/2] fix typo --- src/app/components/data-preview/data-preview.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/data-preview/data-preview.component.ts b/src/app/components/data-preview/data-preview.component.ts index c712a5c..bc1d584 100644 --- a/src/app/components/data-preview/data-preview.component.ts +++ b/src/app/components/data-preview/data-preview.component.ts @@ -237,7 +237,7 @@ export class DataPreviewComponent implements OnChanges { const pluginPreviewOptions: PluginPreviewOption[] = pluginLinks.map(pluginLink => { return { type: 'plugin', - name: pluginLink.name ?? "Unknonw", + name: pluginLink.name ?? "Unknown", plugin: pluginLink } }); From c7e5e18b1f63b347c181c6938942c3ef625270fe Mon Sep 17 00:00:00 2001 From: infacc Date: Thu, 17 Aug 2023 13:49:11 +0200 Subject: [PATCH 2/2] fix: 'all-plugins' template selection with default template With active default template (set via the `DEFAULT_UI_TEMPLATE` environment variable) selecting the 'all-plugins' template didn't work on the first try. --- src/app/components/plugin-sidebar/plugin-sidebar.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/plugin-sidebar/plugin-sidebar.component.ts b/src/app/components/plugin-sidebar/plugin-sidebar.component.ts index c1037e9..c2f2361 100644 --- a/src/app/components/plugin-sidebar/plugin-sidebar.component.ts +++ b/src/app/components/plugin-sidebar/plugin-sidebar.component.ts @@ -108,7 +108,9 @@ export class PluginSidebarComponent implements OnInit, OnDestroy { this.switchActiveArea("plugins"); } } - this.loadActiveTemplateFromId(this.templateId ?? this.defaultTemplateId); + if (this.routeTemplateId != ALL_PLUGINS_TEMPLATE_ID) { + this.loadActiveTemplateFromId(this.templateId ?? this.defaultTemplateId); + } }); this.registry.resolveRecursiveRels([["plugin", "collection"]]).then((apiLink) => {