Skip to content

Commit

Permalink
Fix pageload block due to missing nullsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehamster87 committed Feb 9, 2024
1 parent 63f3dc9 commit a2af9c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/frontend/src/Status.root.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
);
let isHistogramSelectionOpen = false
$: metricsInHistograms = cluster ? ccconfig[`user_view_histogramMetrics:${cluster}`] : (ccconfig.user_view_histogramMetrics || [])
$: metricsInHistograms = cluster ? (ccconfig[`user_view_histogramMetrics:${cluster}`] || []) : (ccconfig.user_view_histogramMetrics || [])
const client = getContextClient();
$: mainQuery = queryStore({
Expand Down
2 changes: 1 addition & 1 deletion web/frontend/src/User.root.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
? !!ccconfig[`plot_list_showFootprint:${filterPresets.cluster}`]
: !!ccconfig.plot_list_showFootprint
$: metricsInHistograms = selectedCluster ? ccconfig[`user_view_histogramMetrics:${selectedCluster}`] : (ccconfig.user_view_histogramMetrics || [])
$: metricsInHistograms = selectedCluster ? (ccconfig[`user_view_histogramMetrics:${selectedCluster}`] || []) : (ccconfig.user_view_histogramMetrics || [])
const client = getContextClient();
$: stats = queryStore({
Expand Down

0 comments on commit a2af9c1

Please sign in to comment.