mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 16:05:42 +00:00
add editor settings to customUi
This commit is contained in:
@@ -18,15 +18,17 @@
|
||||
contentClasses="flex flex-col gap-y-2 p-4"
|
||||
>
|
||||
<svelte:fragment slot="trigger">
|
||||
<Button
|
||||
btnClasses="text-tertiary"
|
||||
color="light"
|
||||
size="xs"
|
||||
nonCaptureEvent={true}
|
||||
startIcon={{ icon: Settings }}
|
||||
iconOnly
|
||||
title="Editor settings"
|
||||
/>
|
||||
{#if customUi.editorSettings != false}
|
||||
<Button
|
||||
btnClasses="text-tertiary"
|
||||
color="light"
|
||||
size="xs"
|
||||
nonCaptureEvent={true}
|
||||
startIcon={{ icon: Settings }}
|
||||
iconOnly
|
||||
title="Editor settings"
|
||||
/>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
|
||||
<svelte:fragment slot="content">
|
||||
|
||||
@@ -64,6 +64,7 @@ export type EditorBarUi = {
|
||||
assistants?: boolean
|
||||
multiplayer?: boolean
|
||||
autoformatting?: boolean
|
||||
editorSettings?: boolean
|
||||
vimMode?: boolean
|
||||
relativeLineNumbers?: boolean
|
||||
aiGen?: boolean
|
||||
|
||||
Reference in New Issue
Block a user