diff --git a/src/UI/Base/TabbedGroup.svelte b/src/UI/Base/TabbedGroup.svelte index de5d763e12..8b85a6b4d8 100644 --- a/src/UI/Base/TabbedGroup.svelte +++ b/src/UI/Base/TabbedGroup.svelte @@ -1,32 +1,34 @@
@@ -41,31 +43,55 @@ >
- twJoin("tab", selected && "primary", !$condition0 && "hidden")}> -
- Tab 0 -
-
- twJoin("tab", selected && "primary", !$condition1 && "hidden")}> -
- -
-
- twJoin("tab", selected && "primary", !$condition2 && "hidden")}> -
- -
-
- twJoin("tab", selected && "primary", !$condition3 && "hidden")}> -
- -
-
- twJoin("tab", selected && "primary", !$condition4 && "hidden")}> -
- -
-
+ {#if $$slots.title0} + twJoin("tab", selected && "primary", !$condition0 && "hidden")}> +
+ Tab 0 +
+
+ {/if} + {#if $$slots.title1} + twJoin("tab", selected && "primary", !$condition1 && "hidden")}> +
+ +
+
+ {/if} + {#if $$slots.title2} + twJoin("tab", selected && "primary", !$condition2 && "hidden")}> +
+ +
+
+ {/if} + {#if $$slots.title3} + twJoin("tab", selected && "primary", !$condition3 && "hidden")}> +
+ +
+
+ {/if} + {#if $$slots.title4} + twJoin("tab", selected && "primary", !$condition4 && "hidden")}> +
+ +
+
+ {/if} + {#if $$slots.title5} + twJoin("tab", selected && "primary", !$condition5 && "hidden")}> +
+ +
+
+ {/if} + {#if $$slots.title6} + twJoin("tab", selected && "primary", !$condition6 && "hidden")}> +
+ +
+
+ {/if}
@@ -96,6 +122,16 @@
+ + +
+ + + + +
+ +