add "all groups" option for local instance

This commit is contained in:
lilydjwg 2021-10-23 12:10:07 +08:00
parent 632e1f3881
commit acf925e616

View File

@ -164,6 +164,9 @@
</select> </select>
{:else} {:else}
<select bind:value={group} on:change={on_group_change}> <select bind:value={group} on:change={on_group_change}>
{#if islocal}
<option value="">全部</option>
{/if}
{#each groups as group} {#each groups as group}
<option value={group.group_id}>{group.name}</option> <option value={group.group_id}>{group.name}</option>
{/each} {/each}