You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/footer-navigation/footer-navigation.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/shared/usage-header.tsx
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,10 @@ interface UsageHeaderProps {
20
20
progressValue?: number
21
21
seatsText?: string
22
22
isBlocked?: boolean
23
+
blockedReason?: 'payment_failed'|'dispute'|null
24
+
blockedByOrgOwner?: boolean
23
25
onResolvePayment?: ()=>void
26
+
onContactSupport?: ()=>void
24
27
status?: 'ok'|'warning'|'exceeded'|'blocked'
25
28
percentUsed?: number
26
29
}
@@ -37,7 +40,10 @@ export function UsageHeader({
37
40
progressValue,
38
41
seatsText,
39
42
isBlocked,
43
+
blockedReason,
44
+
blockedByOrgOwner,
40
45
onResolvePayment,
46
+
onContactSupport,
41
47
status,
42
48
percentUsed,
43
49
}: UsageHeaderProps){
@@ -114,7 +120,24 @@ export function UsageHeader({
0 commit comments