Skip to content

Commit

Permalink
fix: embedded dashboards without time series
Browse files Browse the repository at this point in the history
  • Loading branch information
briangregoryholmes committed Jan 23, 2025
1 parent f822006 commit 415779e
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,13 @@
$: parseUrl($page.url, defaultExplorePreset);
</script>

{#if !$validSpecStore.isLoading && !$metricsViewTimeRange.isLoading}
<DashboardURLStateSync
metricsViewName={$metricsViewName}
exploreName={$exploreName}
{defaultExplorePreset}
{exploreStateFromYAMLConfig}
{partialExploreStateFromUrl}
{exploreStateFromSessionStorage}
>
<slot />
</DashboardURLStateSync>
{/if}
<DashboardURLStateSync
metricsViewName={$metricsViewName}
exploreName={$exploreName}
{defaultExplorePreset}
{exploreStateFromYAMLConfig}
{partialExploreStateFromUrl}
{exploreStateFromSessionStorage}
>
<slot />
</DashboardURLStateSync>

0 comments on commit 415779e

Please sign in to comment.