fix: address review comments

This commit is contained in:
Christy Jacob committed 2024-08-16 14:26:35 +04:00
1 parent 964562e5e9
commit 866dae8e23
3 files changed
+4 -5

No files matched your search

@@ -19,7 +19,7 @@
</div>
</div>
{/if}
<div class="u-stretch u-flex-vertical">
<div class="u-stretch u-flex-vertical u-main-center">
<h3 class="body-text-2 u-bold"><slot name="title" /></h3>
<p class="u-margin-block-start-8">
<slot nextTier={tierToPlan(getNextTier($organization.billingPlan)).name} />
+1 -1
View File
@@ -5,7 +5,7 @@
</script>
<p
class="helper u-margin-block-start-8 {classes} u-align-baseline"
class="helper u-margin-block-start-8 {classes}"
class:u-color-text-info={type === 'info'}
class:u-color-text-danger={type === 'error'}
class:u-color-text-success={type === 'success'}
@@ -27,8 +27,7 @@
$: isSubmitDisabled = JSON.stringify(numbers) === JSON.stringify(initialNumbers);
// temporarily enable the component for design review
let isComponentDisabled: boolean =
(false && isSelfHosted) || (isCloud && $organization?.billingPlan === BillingPlan.FREE);
let isComponentDisabled: boolean = isSelfHosted || (isCloud && $organization?.billingPlan === BillingPlan.FREE);
let emptyStateTitle: string = isSelfHosted
? 'Available on Appwrite Cloud'
: 'Upgrade to add mock phone numbers';
@@ -43,7 +42,7 @@
await invalidate(Dependencies.PROJECT);
addNotification({
type: 'success',
message: 'Updated mock phone numbers successfully'
message: 'Mock phone numbers have been updated'
});
trackEvent(Submit.AuthMockNumbersUpdate);
} catch (error) {