From 6a4801885de31602dfeef158323e30c7c0b75826 Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Thu, 30 Dec 2021 10:24:22 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20member=20editing=20and=20member=20priva?= =?UTF-8?q?cy=20editing=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/member/Body.svelte | 6 +- src/lib/member/Edit.svelte | 107 +++++++++++++++++++++++++++++ src/lib/member/Privacy.svelte | 122 ++++++++++++++++++++++++++++++++++ 3 files changed, 233 insertions(+), 2 deletions(-) create mode 100644 src/lib/member/Edit.svelte create mode 100644 src/lib/member/Privacy.svelte diff --git a/src/lib/member/Body.svelte b/src/lib/member/Body.svelte index 186a9bf4..c10f73e1 100644 --- a/src/lib/member/Body.svelte +++ b/src/lib/member/Body.svelte @@ -7,6 +7,8 @@ import type Member from '../../api/member'; import type Group from '../../api/group'; import GroupEdit from './GroupEdit.svelte'; + import Edit from './Edit.svelte'; + import Privacy from './Privacy.svelte'; export let groups: Group[] = []; export let member: Member; @@ -110,7 +112,7 @@ Edit privacy - whoops! this is yet to be added. + @@ -127,7 +129,7 @@ {/if} {:else if editMode} - editing tba o_o + {:else if groupMode} {/if} diff --git a/src/lib/member/Edit.svelte b/src/lib/member/Edit.svelte new file mode 100644 index 00000000..8f697381 --- /dev/null +++ b/src/lib/member/Edit.svelte @@ -0,0 +1,107 @@ + + +{#each err as error} + {@html error} +{/each} + + + + + + + +