From 09a306be90457dfd1daf64a1bfb1170063b43aa0 Mon Sep 17 00:00:00 2001 From: Artem Savchenko Date: Tue, 25 Nov 2025 09:34:51 +0700 Subject: [PATCH] Fix billing Signed-off-by: Artem Savchenko --- .../billing-resources/src/components/Settings.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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}