From 38879c2e58e0ebe021af04d3429332651e7b6bdc Mon Sep 17 00:00:00 2001 From: infacc <33042539+infacc@users.noreply.github.com> Date: Wed, 12 Jul 2023 14:20:23 +0200 Subject: [PATCH] rectify warning message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fabian Bühler --- .../plugin-filter-node/plugin-filter-node.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components-small/plugin-filter-node/plugin-filter-node.component.ts b/src/app/components-small/plugin-filter-node/plugin-filter-node.component.ts index 55ecebe..28b6f32 100644 --- a/src/app/components-small/plugin-filter-node/plugin-filter-node.component.ts +++ b/src/app/components-small/plugin-filter-node/plugin-filter-node.component.ts @@ -71,7 +71,7 @@ export class PluginFilterNodeComponent implements OnInit { addFilter(type: 'name' | 'tag' | 'version' | 'and' | 'or' = 'name') { if (this.children == null) { - console.warn("No children provided to plugin filter node component"); + console.warn("Cannot add child filter because the plugin filter node component is a leaf node!"); return; } this.children.push({