chore: update org upgrade button

This commit is contained in:
Arman committed 2024-05-24 15:26:15 +02:00
1 parent 1567c1a1e7
commit a202a0588d
1 file changed
+2 -4
@@ -1,10 +1,8 @@
<script>
import { trackEvent } from '$lib/actions/analytics';
import { Button } from '$lib/elements/forms';
import { getNextTier, tierToPlan } from '$lib/stores/billing';
import { getNextTier, tierToPlan, upgradeURL } from '$lib/stores/billing';
import { organization } from '$lib/stores/organization';
import { wizard } from '$lib/stores/wizard';
import ChangeOrganizationTierCloud from '$routes/console/changeOrganizationTierCloud.svelte';
import Card from './card.svelte';
export let source = 'empty_state_card';
@@ -28,8 +26,8 @@
class="u-margin-block-start-32"
secondary
fullWidth
href={$upgradeURL}
on:click={() => {
wizard.start(ChangeOrganizationTierCloud);
trackEvent('click_organization_upgrade', {
from: 'button',
source