mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #1026 from appwrite/fix-header-alert-first-load
fix: header alert not showing on first load
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -183,7 +183,7 @@ export function calculateTrialDay(org: Organization) {
|
||||
}
|
||||
|
||||
export async function checkForUsageLimit(org: Organization) {
|
||||
if (org.billingPlan !== BillingPlan.STARTER) {
|
||||
if (org?.billingPlan !== BillingPlan.STARTER) {
|
||||
readOnly.set(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -274,6 +274,7 @@
|
||||
await checkPaymentAuthorizationRequired(org);
|
||||
await checkForMandate(org);
|
||||
}
|
||||
$activeHeaderAlert = headerAlert.get();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user