mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
ran: formatter.
This commit is contained in:
1 parent
6bcd8a9e96
commit
7d1b3919c7
1 file changed
+11
-8
@@ -52,7 +52,9 @@
|
||||
case 'pro':
|
||||
return organizationPlan === BillingPlan.FREE;
|
||||
case 'scale':
|
||||
return organizationPlan === BillingPlan.FREE || organizationPlan === BillingPlan.PRO;
|
||||
return (
|
||||
organizationPlan === BillingPlan.FREE || organizationPlan === BillingPlan.PRO
|
||||
);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -134,8 +136,7 @@
|
||||
href={shouldShowUpgrade ? $upgradeURL : currentModalAlert.cta.link}
|
||||
external={!isCloud}
|
||||
fullWidthMobile
|
||||
on:click={() => handleClose()}
|
||||
>
|
||||
on:click={() => handleClose()}>
|
||||
{shouldShowUpgrade ? 'Upgrade plan' : currentModalAlert.cta.text}
|
||||
</Button>
|
||||
|
||||
@@ -177,9 +178,7 @@
|
||||
{/if}
|
||||
|
||||
<div>
|
||||
<button
|
||||
class="icon-inline-tag"
|
||||
on:click={() => handleClose()}>
|
||||
<button class="icon-inline-tag" on:click={() => handleClose()}>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="20"
|
||||
@@ -236,11 +235,15 @@
|
||||
<Button
|
||||
secondary
|
||||
class="button"
|
||||
href={shouldShowUpgrade ? $upgradeURL : currentModalAlert.cta.link}
|
||||
href={shouldShowUpgrade
|
||||
? $upgradeURL
|
||||
: currentModalAlert.cta.link}
|
||||
external={!isCloud}
|
||||
fullWidthMobile
|
||||
on:click={() => handleClose()}>
|
||||
{shouldShowUpgrade ? 'Upgrade plan' : currentModalAlert.cta.text}
|
||||
{shouldShowUpgrade
|
||||
? 'Upgrade plan'
|
||||
: currentModalAlert.cta.text}
|
||||
</Button>
|
||||
|
||||
{#if currentModalAlert.learnMore && currentModalAlert.learnMore.link}
|
||||
|
||||
Reference in new issue
Block a user