Spaces:
Running
Running
show billing if connected
Browse files
src/lib/components/flow/actions/PanelRightActions.svelte
CHANGED
|
@@ -74,10 +74,12 @@
|
|
| 74 |
<DropdownMenu.Separator />
|
| 75 |
{/if}
|
| 76 |
<DropdownMenu.Group>
|
| 77 |
-
|
| 78 |
-
<
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
| 81 |
<DropdownMenu.Sub>
|
| 82 |
<DropdownMenu.SubTrigger>
|
| 83 |
<Contrast />
|
|
|
|
| 74 |
<DropdownMenu.Separator />
|
| 75 |
{/if}
|
| 76 |
<DropdownMenu.Group>
|
| 77 |
+
{#if authState.user}
|
| 78 |
+
<DropdownMenu.Item onclick={() => (billingModalState.open = true)}>
|
| 79 |
+
<CreditCard />
|
| 80 |
+
Billings
|
| 81 |
+
</DropdownMenu.Item>
|
| 82 |
+
{/if}
|
| 83 |
<DropdownMenu.Sub>
|
| 84 |
<DropdownMenu.SubTrigger>
|
| 85 |
<Contrast />
|