From 5419129bdb0138676ed95fe5fa8d4654e504c721 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 30 Dec 2023 00:20:35 -0800 Subject: [PATCH] Fix switch component merge conflict --- .../admin/config/config.component.html | 2 +- .../common/input/switch/switch.component.html | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src-ui/src/app/components/admin/config/config.component.html b/src-ui/src/app/components/admin/config/config.component.html index 48cac6bfa..a3eb0b8ab 100644 --- a/src-ui/src/app/components/admin/config/config.component.html +++ b/src-ui/src/app/components/admin/config/config.component.html @@ -27,7 +27,7 @@ @switch (option.type) { @case (ConfigOptionType.Select) { } @case (ConfigOptionType.Number) { } - @case (ConfigOptionType.Boolean) { } + @case (ConfigOptionType.Boolean) { } @case (ConfigOptionType.String) { } @case (ConfigOptionType.JSON) { } } diff --git a/src-ui/src/app/components/common/input/switch/switch.component.html b/src-ui/src/app/components/common/input/switch/switch.component.html index f81548425..189aa937f 100644 --- a/src-ui/src/app/components/common/input/switch/switch.component.html +++ b/src-ui/src/app/components/common/input/switch/switch.component.html @@ -1,27 +1,27 @@
-
- @if (!horizontal) { - - } + @if (!horizontal) { +
+ @if (removable) { - } +  Remove + + }
-
-
- - @if (horizontal) { - - } - @if (hint) { -
{{hint}}
- } -
+ } +
+
+ + @if (horizontal) { + + } + @if (hint) { +
{{hint}}
+ }
+