mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
fix(dashboard): editing and backing out should not update the card
This commit is contained in:
parent
68d15b98f7
commit
e2b958c305
6 changed files with 30 additions and 14 deletions
|
|
@ -129,9 +129,9 @@
|
|||
<Collapse isOpen={isOpenArray[indexStart + index]}>
|
||||
<CardBody>
|
||||
{#if itemType === "member"}
|
||||
<MemberBody on:deletion bind:isPublic bind:groups bind:member={item} />
|
||||
<MemberBody on:update on:deletion bind:isPublic groups={groups} member={item} />
|
||||
{:else if itemType === "group"}
|
||||
<GroupBody on:deletion {isPublic} {members} bind:group={item} />
|
||||
<GroupBody on:update on:deletion bind:isPublic {members} group={item} />
|
||||
{/if}
|
||||
</CardBody>
|
||||
</Collapse>
|
||||
|
|
@ -161,9 +161,9 @@
|
|||
</div>
|
||||
<CardBody>
|
||||
{#if itemType === "member"}
|
||||
<MemberBody on:deletion bind:isPublic bind:groups bind:member={item} />
|
||||
<MemberBody on:update on:deletion bind:isPublic groups={groups} member={item} />
|
||||
{:else if itemType === "group"}
|
||||
<GroupBody on:deletion {isPublic} {members} bind:group={item} />
|
||||
<GroupBody on:update on:deletion bind:isPublic {members} group={item} />
|
||||
{/if}
|
||||
</CardBody>
|
||||
</Card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue