Remove console.log
This commit is contained in:
parent
e136cee959
commit
2745506fc9
|
@ -51,7 +51,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
async function openUpdateRolesModal({ detail }) {
|
async function openUpdateRolesModal({ detail }) {
|
||||||
console.log(detail)
|
|
||||||
selectedApp = detail
|
selectedApp = detail
|
||||||
editRolesModal.show()
|
editRolesModal.show()
|
||||||
}
|
}
|
||||||
|
@ -59,15 +58,20 @@
|
||||||
|
|
||||||
<Layout noPadding gap="XS">
|
<Layout noPadding gap="XS">
|
||||||
<div class="back">
|
<div class="back">
|
||||||
<ActionButton on:click={() => $goto("./")} quiet size="S" icon="BackAndroid"
|
<ActionButton
|
||||||
>Back to users</ActionButton
|
on:click={() => $goto("./")}
|
||||||
|
quiet
|
||||||
|
size="S"
|
||||||
|
icon="BackAndroid"
|
||||||
>
|
>
|
||||||
|
Back to users
|
||||||
|
</ActionButton>
|
||||||
</div>
|
</div>
|
||||||
<div class="heading">
|
<div class="heading">
|
||||||
<Layout noPadding gap="XS">
|
<Layout noPadding gap="XS">
|
||||||
<Heading>User: {$roleFetch?.data?.email}</Heading>
|
<Heading>User: {$roleFetch?.data?.email}</Heading>
|
||||||
<Body
|
<Body>
|
||||||
>Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis porro
|
Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis porro
|
||||||
ut nesciunt ipsam perspiciatis aliquam et hic minus alias beatae. Odit
|
ut nesciunt ipsam perspiciatis aliquam et hic minus alias beatae. Odit
|
||||||
veritatis quos quas laborum magnam tenetur perspiciatis ex hic.
|
veritatis quos quas laborum magnam tenetur perspiciatis ex hic.
|
||||||
</Body>
|
</Body>
|
||||||
|
@ -83,9 +87,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="regenerate">
|
<div class="regenerate">
|
||||||
<ActionButton size="S" icon="Refresh" quiet
|
<ActionButton size="S" icon="Refresh" quiet>
|
||||||
>Regenerate password</ActionButton
|
Regenerate password
|
||||||
>
|
</ActionButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Divider size="S" />
|
<Divider size="S" />
|
||||||
|
@ -103,13 +107,13 @@
|
||||||
</div>
|
</div>
|
||||||
<Divider size="S" />
|
<Divider size="S" />
|
||||||
<div class="delete">
|
<div class="delete">
|
||||||
<Layout gap="S" noPadding
|
<Layout gap="S" noPadding>
|
||||||
><Heading size="S">Delete user</Heading>
|
<Heading size="S">Delete user</Heading>
|
||||||
<Body>Deleting a user completely removes them from your account.</Body>
|
<Body>Deleting a user completely removes them from your account.</Body>
|
||||||
<div class="delete-button">
|
<div class="delete-button">
|
||||||
<Button warning on:click={deleteUserModal.show}>Delete user</Button>
|
<Button warning on:click={deleteUserModal.show}>Delete user</Button>
|
||||||
</div></Layout
|
</div>
|
||||||
>
|
</Layout>
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
@ -122,10 +126,9 @@
|
||||||
cancelText="Cancel"
|
cancelText="Cancel"
|
||||||
showCloseIcon={false}
|
showCloseIcon={false}
|
||||||
>
|
>
|
||||||
<Body
|
<Body>
|
||||||
>Are you sure you want to delete <strong>{$roleFetch?.data?.email}</strong
|
Are you sure you want to delete <strong>{$roleFetch?.data?.email}</strong>
|
||||||
></Body
|
</Body>
|
||||||
>
|
|
||||||
</ModalContent>
|
</ModalContent>
|
||||||
</Modal>
|
</Modal>
|
||||||
<Modal bind:this={editRolesModal}>
|
<Modal bind:this={editRolesModal}>
|
||||||
|
|
Loading…
Reference in New Issue