mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
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>
This commit is contained in:
co-authored by
Claude Opus 5
parent
6d22ebe020
commit
6d69802c64
@@ -1094,9 +1094,9 @@
|
||||
collapsable
|
||||
>
|
||||
{#snippet badge()}
|
||||
<Badge color={addAdminsAndDevelopersToForks ? 'green' : 'gray'}>
|
||||
{addAdminsAndDevelopersToForks ? 'Admins and developers' : 'Creator only'}
|
||||
</Badge>
|
||||
{#if addAdminsAndDevelopersToForks}
|
||||
<Badge color="gray" wrapperClass="ml-2 mr-auto">Admins and developers</Badge>
|
||||
{/if}
|
||||
{/snippet}
|
||||
<Toggle
|
||||
bind:checked={addAdminsAndDevelopersToForks}
|
||||
|
||||
Reference in New Issue
Block a user