refactor(dashboard): use svelte context for lists

This commit is contained in:
Jake Fulmine
2023-06-03 12:27:58 +02:00
parent f2e160c526
commit a48f2b40c4
23 changed files with 598 additions and 433 deletions
+2 -2
View File
@@ -198,8 +198,8 @@
<Link to={getSystemPageUrl()}><Button style="flex: 0; {!isPublic && "float: right;"}" color="primary" tabindex={-1} aria-label="view member's system">View system</Button></Link>
{/if}
{:else if editMode}
<Edit on:update on:deletion bind:member bind:editMode />
<Edit {member} bind:editMode />
{:else if groupMode}
<GroupEdit on:updateMemberGroups bind:member bind:groups bind:groupMode />
<GroupEdit {member} bind:groupMode />
{/if}
</CardBody>