File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/routes/(console)/organization-[organization]/billing Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 102
102
</Layout .Stack >
103
103
</Card .Base >
104
104
{:else }
105
+ {@const hasBillingAddresses = $addressList .billingAddresses .length }
105
106
<Card .Base >
106
107
<Layout .Stack justifyContent =" center" alignItems =" center" gap =" m" >
107
108
<Popover let:toggle padding =" none" placement =" bottom-start" >
121
122
<span >{address .country }</span >
122
123
</ActionMenu .Item .Button >
123
124
{/each }
124
- <Divider />
125
+ {#if hasBillingAddresses }
126
+ <Divider />
127
+ {/if }
125
128
<ActionMenu .Item .Button
126
129
leadingIcon ={IconPlus }
127
130
on:click ={() => (showCreate = true )}>
Original file line number Diff line number Diff line change 249
249
</Layout .Stack >
250
250
</ActionMenu .Item .Button >
251
251
{/each }
252
+
253
+ <Divider />
252
254
{/if }
253
- <Divider />
254
255
<ActionMenu .Item .Button
255
256
leadingIcon ={IconPlus }
256
257
on:click ={(e ) => {
284
285
</Layout .Stack >
285
286
</ActionMenu .Item .Button >
286
287
{/each }
288
+
289
+ <Divider />
287
290
{/if }
288
- <Divider />
289
291
<ActionMenu .Item .Button
290
292
leadingIcon ={IconPlus }
291
293
on:click ={(e ) => {
You can’t perform that action at this time.
0 commit comments