Skip to content

Commit

Permalink
Merge pull request #237 from ClusterCockpit/hotfix
Browse files Browse the repository at this point in the history
Fix pageload block due to missing nullsafe
  • Loading branch information
spacehamster87 authored Feb 9, 2024
2 parents 63f3dc9 + a2af9c1 commit be6c63e
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 be6c63e

Please sign in to comment.