mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
make tag select removable in custom ui
This commit is contained in:
@@ -1707,16 +1707,18 @@
|
||||
{/if}
|
||||
|
||||
<div class="flex flex-row gap-x-1 lg:gap-x-2">
|
||||
{#if $workerTags}
|
||||
{#if $workerTags?.length ?? 0 > 0}
|
||||
<div class="max-w-[200px] pr-8">
|
||||
<WorkerTagSelect
|
||||
inputClass="text-sm text-secondary !placeholder-secondary"
|
||||
nullTag={script.language}
|
||||
placeholder={customUi?.tagSelectPlaceholder}
|
||||
bind:tag={script.tag}
|
||||
/>
|
||||
</div>
|
||||
{#if customUi?.topBar?.tagEdit != false}
|
||||
{#if $workerTags}
|
||||
{#if $workerTags?.length ?? 0 > 0}
|
||||
<div class="max-w-[200px] pr-8">
|
||||
<WorkerTagSelect
|
||||
inputClass="text-sm text-secondary !placeholder-secondary"
|
||||
nullTag={script.language}
|
||||
placeholder={customUi?.tagSelectPlaceholder}
|
||||
bind:tag={script.tag}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
{#if customUi?.topBar?.settings != false}
|
||||
|
||||
@@ -111,6 +111,7 @@ export type ScriptBuilderWhitelabelCustomUi = {
|
||||
extraDeployOptions?: boolean
|
||||
editableSummary?: boolean
|
||||
diff?: boolean
|
||||
tagEdit?: boolean
|
||||
}
|
||||
settingsPanel?: SettingsPanelUi
|
||||
disableTooltips?: boolean
|
||||
|
||||
Reference in New Issue
Block a user