mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
chore: remove console logs
This commit is contained in:
1 parent
b3441fd1b2
commit
cd90d89454
6 files changed
+7
-16
No files matched your search
@@ -248,16 +248,12 @@
|
||||
|
||||
if (isCloud) {
|
||||
if (!$page.url.pathname.includes('/console/onboarding')) {
|
||||
try {
|
||||
const orgs = await sdk.forConsole.teams.list([
|
||||
Query.equal('billingPlan', 'tier-0')
|
||||
]);
|
||||
const orgs = await sdk.forConsole.teams.list([
|
||||
Query.equal('billingPlan', 'tier-0')
|
||||
]);
|
||||
|
||||
checkForPostReleaseProModal(orgs);
|
||||
checkForFreeOrgOverflow(orgs);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
checkForPostReleaseProModal(orgs);
|
||||
checkForFreeOrgOverflow(orgs);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
$: currentPlan = $plansInfo.plans.find((p) => p.$id === $organization?.billingPlan);
|
||||
$: extraUsage = currentInvoice?.amount - currentPlan?.price;
|
||||
$: isTrial = new Date($organization?.billingTrialEndDate).getTime() - today.getTime() > 0;
|
||||
|
||||
$: console.log(currentInvoice);
|
||||
</script>
|
||||
|
||||
{#if $organization}
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
couponData = response;
|
||||
coupon = null;
|
||||
} catch (error) {
|
||||
console.log('test');
|
||||
couponData.code = coupon;
|
||||
couponData.status = 'error';
|
||||
$wizard.interceptorNotificationEnabled = false;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
$addCreditWizardStore.paymentMethodId = method.$id;
|
||||
invalidate(Dependencies.PAYMENT_METHODS);
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
throw new Error('Something went wrong. Please try again.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
$createOrganization.paymentMethodId = method.$id;
|
||||
invalidate(Dependencies.PAYMENT_METHODS);
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
throw new Error('Something went wrong. Please try again.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
|
||||
let mail: string, pass: string, disabled: boolean;
|
||||
|
||||
$: console.log($page.url.search);
|
||||
|
||||
async function login() {
|
||||
try {
|
||||
disabled = true;
|
||||
|
||||
Reference in new issue
Block a user