Skip to content

Commit

Permalink
Add Command Palette to Enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 15, 2024
1 parent c9416b1 commit 42d9a96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions enterprise/frontend/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
const flash = getFlash(page);
const toastStore = getToastStore();
import CommandPalette from '$lib/components/CommandPalette/CommandPalette.svelte';
import commandPaletteOpen from '$lib/components/CommandPalette/CommandPalette.svelte';
const toast = (message: string, options: Record<string, string>) => {
const t: ToastSettings = {
message: message,
Expand Down Expand Up @@ -112,6 +115,7 @@
<ParaglideJsProvider>
<Modal components={modalRegistry} />
<Toast />
<CommandPalette />
<slot />

{#if $flash}
Expand Down

0 comments on commit 42d9a96

Please sign in to comment.