diff --git a/BlueWest.Frontend/src/routes/users.svelte b/BlueWest.Frontend/src/routes/users.svelte index f5bd9d2..566ecab 100644 --- a/BlueWest.Frontend/src/routes/users.svelte +++ b/BlueWest.Frontend/src/routes/users.svelte @@ -23,11 +23,15 @@ function removeUser(id ) { users = users.filter((u) => u.id !== id); } + + let isSafari; onMount(async () => { await GetUsers().then(res => { - users = res.users; - loaded = true; + users = res; + + if(users.length) + loaded = true; }) })