fix(dashboard): editing and backing out should not update the card

This commit is contained in:
Jake Fulmine 2022-08-22 12:13:52 +02:00
parent 68d15b98f7
commit e2b958c305
6 changed files with 30 additions and 14 deletions

View file

@ -187,8 +187,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:deletion bind:member bind:editMode />
<Edit on:update on:deletion bind:member bind:editMode />
{:else if groupMode}
<GroupEdit bind:member bind:groups bind:groupMode />
<GroupEdit on:updateMemberGroups bind:member bind:groups bind:groupMode />
{/if}
</CardBody>