diff --git a/web-admin/src/features/public-urls/DashboardPublicURLStateProvider.svelte b/web-admin/src/features/public-urls/DashboardPublicURLStateProvider.svelte new file mode 100644 index 00000000000..e5733cdbf28 --- /dev/null +++ b/web-admin/src/features/public-urls/DashboardPublicURLStateProvider.svelte @@ -0,0 +1,31 @@ + + +{#if $dashboardStoreReady} + +{:else} +
+ +
+{/if} diff --git a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.svelte b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.svelte index 66c0368acc0..769b94f8612 100644 --- a/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.svelte +++ b/web-admin/src/routes/[organization]/[project]/-/share/[token]/+page.svelte @@ -2,11 +2,11 @@ import { onNavigate } from "$app/navigation"; import { page } from "$app/stores"; import { createAdminServiceGetProject } from "@rilldata/web-admin/client"; + import DashboardPublicURLStateProvider from "@rilldata/web-admin/features/public-urls/DashboardPublicURLStateProvider.svelte"; import { Dashboard } from "@rilldata/web-common/features/dashboards"; import DashboardThemeProvider from "@rilldata/web-common/features/dashboards/DashboardThemeProvider.svelte"; import DashboardURLStateProvider from "@rilldata/web-common/features/dashboards/proto-state/DashboardURLStateProvider.svelte"; import StateManagersProvider from "@rilldata/web-common/features/dashboards/state-managers/StateManagersProvider.svelte"; - import DashboardStateProvider from "@rilldata/web-common/features/dashboards/stores/DashboardStateProvider.svelte"; import { eventBus } from "@rilldata/web-common/lib/event-bus/event-bus"; import { createRuntimeServiceGetExplore } from "@rilldata/web-common/runtime-client"; import { runtime } from "@rilldata/web-common/runtime-client/runtime-store"; @@ -52,7 +52,10 @@ metricsViewName={explore.metricsView.meta.name.name} exploreName={resourceName} > - + @@ -63,7 +66,7 @@ /> - + {/if} {/key}