mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: custom now opens the modal
This commit is contained in:
@@ -43,5 +43,12 @@
|
||||
</DropList>
|
||||
|
||||
<User bind:show={showUser} on:create {groups} />
|
||||
<Team bind:show={showTeam} on:create {groups} />
|
||||
<Team
|
||||
bind:show={showTeam}
|
||||
on:create
|
||||
on:custom={() => {
|
||||
showTeam = false;
|
||||
showCustom = true;
|
||||
}}
|
||||
{groups} />
|
||||
<Custom bind:show={showCustom} on:create {groups} />
|
||||
|
||||
@@ -62,11 +62,10 @@
|
||||
<svelte:fragment slot="header">Select teams</svelte:fragment>
|
||||
<p class="text">
|
||||
Grant access to any member of a specific team. To grant access to team members with specific
|
||||
roles, you will need to set a <a
|
||||
roles, you will need to set a <button
|
||||
type="button"
|
||||
class="link"
|
||||
href="https://appwrite.io/docs/permissions"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">custom permission</a
|
||||
on:click={() => dispatch('custom')}>custom permission</button
|
||||
>.
|
||||
</p>
|
||||
<InputSearch
|
||||
|
||||
Reference in New Issue
Block a user