Update user details page to use tables and match designs
This commit is contained in:
parent
37a5bde2bc
commit
7526bc8387
|
@ -0,0 +1,15 @@
|
||||||
|
<script>
|
||||||
|
import { ActionButton } from "@budibase/bbui"
|
||||||
|
import { getContext } from "svelte"
|
||||||
|
|
||||||
|
export let value
|
||||||
|
|
||||||
|
const groupContext = getContext("groups")
|
||||||
|
|
||||||
|
const onClick = e => {
|
||||||
|
e.stopPropagation()
|
||||||
|
groupContext.removeGroup(value)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<ActionButton size="S" on:click={onClick}>Remove</ActionButton>
|
Loading…
Reference in New Issue