mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-03 08:02:19 +00:00
feat: collapse the fork members setting and show its state in a badge (#11220)
* feat: collapse the fork members setting and show its state in a badge Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix: show the fork members badge next to the title, only when on, like other section badges Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
8caf414301
commit
3bd89e92d8
@@ -1091,7 +1091,13 @@
|
||||
label="Fork members"
|
||||
description="Choose who a new fork of this workspace starts with, besides the person who creates it."
|
||||
wrapperClass="pb-12"
|
||||
collapsable
|
||||
>
|
||||
{#snippet badge()}
|
||||
{#if addAdminsAndDevelopersToForks}
|
||||
<Badge color="gray" wrapperClass="ml-2 mr-auto">Admins and developers</Badge>
|
||||
{/if}
|
||||
{/snippet}
|
||||
<Toggle
|
||||
bind:checked={addAdminsAndDevelopersToForks}
|
||||
on:change={(e) => updateAddAdminsAndDevelopersToForks(e.detail)}
|
||||
|
||||
Reference in New Issue
Block a user