We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a8196 commit c016907Copy full SHA for c016907
src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte
@@ -68,12 +68,14 @@
68
}
69
});
70
71
- const columns = [
72
- { id: 'dueDate', width: { min: 120 } },
73
- { id: 'status', width: { min: hasPaymentError ? 200 : 100 } },
74
- { id: 'amount', width: { min: 120 } },
75
- { id: 'action', width: 40 }
76
- ];
+ const columns = $derived.by(() => {
+ return [
+ { id: 'dueDate', width: { min: 120 } },
+ { id: 'status', width: { min: hasPaymentError ? 200 : 100 } },
+ { id: 'amount', width: { min: 120 } },
+ { id: 'action', width: 40 }
77
+ ];
78
+ });
79
</script>
80
81
<CardGrid>
0 commit comments