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 Edit privacy
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<Privacy on:update bind:group bind:privacyOpen={privacyOpen}/> <Privacy bind:group bind:privacyOpen={privacyOpen}/>
</ModalBody> </ModalBody>
</Modal> </Modal>
</Col> </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> <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} {/if}
{:else if editMode} {:else if editMode}
<Edit on:deletion on:update bind:group bind:editMode /> <Edit on:deletion bind:group bind:editMode />
{:else if memberMode} {:else if memberMode}
<MemberEdit on:updateMembers bind:group bind:memberMode bind:members /> <MemberEdit bind:group bind:memberMode bind:members />
{/if} {/if}
</CardBody> </CardBody>

View File

@ -125,7 +125,7 @@
Edit privacy Edit privacy
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<Privacy on:update bind:member bind:privacyOpen/> <Privacy bind:member bind:privacyOpen/>
</ModalBody> </ModalBody>
</Modal> </Modal>
</Col> </Col>
@ -138,7 +138,7 @@
Edit proxy tags Edit proxy tags
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<ProxyTags on:update bind:member bind:proxyOpen/> <ProxyTags bind:member bind:proxyOpen/>
</ModalBody> </ModalBody>
</Modal> </Modal>
</Col> </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> <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} {/if}
{:else if editMode} {:else if editMode}
<Edit on:deletion on:update bind:member bind:editMode /> <Edit on:deletion bind:member bind:editMode />
{:else if groupMode} {:else if groupMode}
<GroupEdit on:updateGroups bind:member bind:groups bind:groupMode /> <GroupEdit bind:member bind:groups bind:groupMode />
{/if} {/if}
</CardBody> </CardBody>