diff --git a/plugins/billing-resources/src/components/Settings.svelte b/plugins/billing-resources/src/components/Settings.svelte index 620e9db1c75..e722be288ee 100644 --- a/plugins/billing-resources/src/components/Settings.svelte +++ b/plugins/billing-resources/src/components/Settings.svelte @@ -71,7 +71,7 @@ void (async (loc: Location): Promise => { const key = loc.path[5] currentGroup = groups.find((g) => g.key === key) ?? groups[0] - currentGroupKey = currentGroup.key + currentGroupKey = currentGroup?.key })(loc) }) @@ -109,8 +109,10 @@ -
- -
+ {#if currentGroup != null} +
+ +
+ {/if}