From 08906a4428d60ab5dd33bb00154a1a3caffa6a03 Mon Sep 17 00:00:00 2001 From: Artem Savchenko Date: Fri, 21 Nov 2025 17:16:12 +0700 Subject: [PATCH] Fix runtime error in billing Signed-off-by: Artem Savchenko --- plugins/billing-resources/src/components/Settings.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/billing-resources/src/components/Settings.svelte b/plugins/billing-resources/src/components/Settings.svelte index 4d52b60b4ea..620e9db1c75 100644 --- a/plugins/billing-resources/src/components/Settings.svelte +++ b/plugins/billing-resources/src/components/Settings.svelte @@ -64,7 +64,7 @@ const groups = paymentUrl != null && paymentUrl !== '' ? baseGroups : baseGroups.filter((g) => g.key !== 'subscriptions') - let currentGroupKey = groups[0].key + let currentGroupKey = groups[0]?.key let currentGroup = groups[0] const unsubscribeLocation = resolvedLocationStore.subscribe((loc) => {