diff --git a/dashboard/src/lib/system/Edit.svelte b/dashboard/src/lib/system/Edit.svelte index b25137d2..fa6dd95e 100644 --- a/dashboard/src/lib/system/Edit.svelte +++ b/dashboard/src/lib/system/Edit.svelte @@ -12,6 +12,7 @@ export let editMode: boolean; export let user: System; let loading: boolean; + let success = false; let err: string[] = []; @@ -42,7 +43,7 @@ user = res; currentUser.update(() => res); err = []; - editMode = false; + success = true; loading = false; } catch (error) { console.log(error); @@ -56,6 +57,9 @@ {#each err as error} {@html error} {/each} +{#if success} +System information updated! +{/if}