diff --git a/frontend/src/lib/components/raw_apps/RawAppEditor.svelte b/frontend/src/lib/components/raw_apps/RawAppEditor.svelte index a775404dae..9ffa812ec9 100644 --- a/frontend/src/lib/components/raw_apps/RawAppEditor.svelte +++ b/frontend/src/lib/components/raw_apps/RawAppEditor.svelte @@ -28,7 +28,7 @@ import { createAppSelectedContext, type AppCodeSelectionElement } from '../copilot/chat/context' import { rawAppLintStore } from './lintStore' import { dbSchemas } from '$lib/stores' - import { MousePointerSquareDashed, RefreshCw, Columns2 } from 'lucide-svelte' + import { MousePointerSquareDashed, RefreshCw, Columns2, X } from 'lucide-svelte' import DraggableTabs, { type TabItem } from '$lib/components/common/tabs/DraggableTabs.svelte' @@ -1472,12 +1472,38 @@ - +
+ + {#if splitWithPreview && activeTabKind !== 'preview'} +
+
+ Preview + +
+
+ {/if} + +