diff --git a/frontend/src/lib/components/IconButton.svelte b/frontend/src/lib/components/IconButton.svelte index 2c1d72e..580e63d 100644 --- a/frontend/src/lib/components/IconButton.svelte +++ b/frontend/src/lib/components/IconButton.svelte @@ -5,12 +5,15 @@ export let color: "primary" | "secondary" | "success" | "danger"; export let tooltip: string; export let active: boolean = false; - export let click: (e: MouseEvent) => void; + export let disabled: boolean = false; + + export let click: ((e: MouseEvent) => void) | undefined = undefined; + export let href: string | undefined = undefined; let button: HTMLElement; {tooltip} - diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index 28494e6..e139f3e 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -30,7 +30,7 @@
Edit profile {/if} -
+
diff --git a/frontend/src/routes/edit/member/[id]/+page.svelte b/frontend/src/routes/edit/member/[id]/+page.svelte index 498171d..4dedb84 100644 --- a/frontend/src/routes/edit/member/[id]/+page.svelte +++ b/frontend/src/routes/edit/member/[id]/+page.svelte @@ -17,6 +17,7 @@ Button, ButtonGroup, FormGroup, + Icon, Input, Modal, ModalBody, @@ -258,6 +259,12 @@

Edit member profile + {#if modified} {/if}