mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 16:01:42 +00:00
fix: improve workspace selection for default tag settings
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
<div class="py-4 flex flex-col gap-2">
|
||||
<div id="default-tags-settings" class="py-4 flex flex-col gap-2">
|
||||
<Toggle
|
||||
bind:checked={defaultTagPerWorkspace}
|
||||
options={{ right: 'workspace specific default tags' }}
|
||||
@@ -70,7 +70,11 @@
|
||||
{#if defaultTagPerWorkspace}
|
||||
<Toggle bind:checked={limitToWorkspaces} options={{ right: 'only for some workspaces' }} />
|
||||
{#if limitToWorkspaces}
|
||||
<MultiSelectWrapper items={workspaces} bind:value={defaultTagWorkspaces} />
|
||||
<MultiSelectWrapper
|
||||
target="#default-tags-settings"
|
||||
items={workspaces}
|
||||
bind:value={defaultTagWorkspaces}
|
||||
/>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user