feat(dashboard): remove unused event directives

This commit is contained in:
Jake/Rads 2022-06-23 22:39:17 +02:00
parent a84192f8f7
commit f70996e5a6
2 changed files with 8 additions and 8 deletions

View File

@ -98,7 +98,7 @@
Edit privacy
</ModalHeader>
<ModalBody>
<Privacy on:update bind:group bind:privacyOpen={privacyOpen}/>
<Privacy bind:group bind:privacyOpen={privacyOpen}/>
</ModalBody>
</Modal>
</Col>
@ -121,8 +121,8 @@
<Link to="/dash?tab=groups"><Button style="flex: 0; {!isPublic && "float: right;"}" color="primary" tabindex={-1} aria-label="view group system">View system</Button></Link>
{/if}
{:else if editMode}
<Edit on:deletion on:update bind:group bind:editMode />
<Edit on:deletion bind:group bind:editMode />
{:else if memberMode}
<MemberEdit on:updateMembers bind:group bind:memberMode bind:members />
<MemberEdit bind:group bind:memberMode bind:members />
{/if}
</CardBody>
</CardBody>

View File

@ -125,7 +125,7 @@
Edit privacy
</ModalHeader>
<ModalBody>
<Privacy on:update bind:member bind:privacyOpen/>
<Privacy bind:member bind:privacyOpen/>
</ModalBody>
</Modal>
</Col>
@ -138,7 +138,7 @@
Edit proxy tags
</ModalHeader>
<ModalBody>
<ProxyTags on:update bind:member bind:proxyOpen/>
<ProxyTags bind:member bind:proxyOpen/>
</ModalBody>
</Modal>
</Col>
@ -161,8 +161,8 @@
<Link to={isPublic ? `/profile/s/${member.system}?tab=members` : "/dash?tab=members"}><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 on:update bind:member bind:editMode />
<Edit on:deletion bind:member bind:editMode />
{:else if groupMode}
<GroupEdit on:updateGroups bind:member bind:groups bind:groupMode />
<GroupEdit bind:member bind:groups bind:groupMode />
{/if}
</CardBody>