Skip to content

Commit 0c7d596

Browse files
fix(dashboards): server loading fallback and muted gate text
1 parent 54d918d commit 0c7d596

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/dashboards/loading.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use client'
2-
31
import { DashboardLoading } from '@/components/dashboards/dashboard-loading'
42
import { Resource } from '@/app/workspace/[workspaceId]/components/resource/resource'
53

‎apps/sim/components/dashboards/dashboard-feature-gate.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function DashboardFeatureGate({ children }: DashboardFeatureGateProps) {
1212
return enabled ? (
1313
children
1414
) : (
15-
<div role='alert' className='p-6 text-[var(--text-secondary)]'>
15+
<div role='alert' className='p-6 text-[var(--text-muted)]'>
1616
Dashboards are not enabled
1717
</div>
1818
)

0 commit comments

Comments
 (0)