From 85a758ee15f9198b049ed028cffe3bcaee2411e0 Mon Sep 17 00:00:00 2001
From: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
Date: Thu, 30 Dec 2021 10:22:08 +0100
Subject: [PATCH] feat: move loading spinner from top of card to submit button
---
src/lib/group/Body.svelte | 10 ++++------
src/lib/group/Edit.svelte | 7 ++++---
src/lib/group/List.svelte | 11 ++++-------
src/lib/group/MemberEdit.svelte | 2 +-
src/lib/group/Privacy.svelte | 6 ++++--
src/lib/member/Body.svelte | 6 ++----
src/lib/member/GroupEdit.svelte | 2 +-
src/lib/member/List.svelte | 8 +++-----
8 files changed, 23 insertions(+), 29 deletions(-)
diff --git a/src/lib/group/Body.svelte b/src/lib/group/Body.svelte
index 6f77ef30..8527a0af 100644
--- a/src/lib/group/Body.svelte
+++ b/src/lib/group/Body.svelte
@@ -13,8 +13,6 @@
let editMode: boolean = false;
let memberMode: boolean = false;
export let isPublic: boolean;
- export let loading: boolean = false;
- let privacyLoading = false;
export let members: Member[];
let htmlDescription: string;
@@ -88,10 +86,10 @@
Privacy:
- {#if privacyLoading}
{/if} Edit privacy
+ Edit privacy
-
+
@@ -108,8 +106,8 @@
{/if}
{:else if editMode}
-
+
{:else if memberMode}
-
+
{/if}
\ No newline at end of file
diff --git a/src/lib/group/Edit.svelte b/src/lib/group/Edit.svelte
index 0ab8794e..ed6a2a3a 100644
--- a/src/lib/group/Edit.svelte
+++ b/src/lib/group/Edit.svelte
@@ -1,11 +1,11 @@