mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Fix: refresh when organization dependency change
before: Invalidating organization was not refreshing the page because it kept local copy of organization now: Invalidating organization correctly refreshes the page
This commit is contained in:
1 parent
73552e5943
commit
cd445161e0
1 file changed
+3
-1
@@ -25,7 +25,9 @@
|
||||
import type { PageData } from './$types';
|
||||
|
||||
export let data: PageData;
|
||||
let organization = data.organization;
|
||||
|
||||
// Reactive statement to update organization when data changes
|
||||
$: organization = data.organization;
|
||||
|
||||
// why are these reactive?
|
||||
$: defaultPaymentMethod = data?.paymentMethods?.paymentMethods?.find(
|
||||
|
||||
Reference in new issue
Block a user