From bf294e58a07dd02b1a2363c5125ffcb789d9035a Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Sun, 9 Jan 2022 15:56:04 +0100 Subject: [PATCH] feat: proxy tag editing --- src/lib/member/Body.svelte | 17 +++++++++ src/lib/member/ProxyTags.svelte | 67 +++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 src/lib/member/ProxyTags.svelte diff --git a/src/lib/member/Body.svelte b/src/lib/member/Body.svelte index 03a38c4a..f9d1465c 100644 --- a/src/lib/member/Body.svelte +++ b/src/lib/member/Body.svelte @@ -9,6 +9,7 @@ import GroupEdit from './GroupEdit.svelte'; import Edit from './Edit.svelte'; import Privacy from './Privacy.svelte'; + import ProxyTags from './ProxyTags.svelte'; export let groups: Group[] = []; export let member: Member; @@ -46,6 +47,9 @@ let privacyOpen = false; const togglePrivacyModal = () => (privacyOpen = !privacyOpen); + let proxyOpen = false; + const toggleProxyModal = () => (proxyOpen = !proxyOpen); + let created = moment(member.created).format("MMM D, YYYY"); let birthday: string; $: {member.birthday; @@ -117,6 +121,19 @@ {/if} + {#if member.proxy_tags} + + Proxy Tags: + + + Edit proxy tags + + + + + + + {/if}
Description:
diff --git a/src/lib/member/ProxyTags.svelte b/src/lib/member/ProxyTags.svelte new file mode 100644 index 00000000..b3fa2a23 --- /dev/null +++ b/src/lib/member/ProxyTags.svelte @@ -0,0 +1,67 @@ + + +{#if err} +{err} +{/if} + + {#each input as proxyTag, index (index)} + + + + + + + + {/each} + + + + +{#if !loading} +{:else} +{/if} \ No newline at end of file