Skip to content

Commit

Permalink
Open settings page in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde committed Dec 24, 2024
1 parent 6fa0951 commit 3c44cdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions web-admin/src/features/billing/plans/PlanQuotas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
{:else}
<a
href={`/${organization}/-/projects-breakdown`}
target="_blank"
class="text-primary-600 text-xs"
data-sveltekit-preload-data="off"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { useValidExplores } from "@rilldata/web-common/features/dashboards/selectors";
import { metricsExplorerStore } from "@rilldata/web-common/features/dashboards/stores/dashboard-stores";
import { runtime } from "@rilldata/web-common/runtime-client/runtime-store";
import ErrorPage from "@rilldata/web-common/components/ErrorPage.svelte";
$: instanceId = $runtime.instanceId;
$: explores = useValidExplores(instanceId);
Expand All @@ -23,4 +24,10 @@

{#if exploreName}
<ExploreEmbed {instanceId} {exploreName} />
{:else}
<ErrorPage
statusCode={500}
header="This dashboard is not available."
body="This dashboard is temporarily unavailable. Please try again later."
/>
{/if}

0 comments on commit 3c44cdb

Please sign in to comment.