Skip to content

Commit 06a6130

Browse files
committed
update
1 parent b5cbe17 commit 06a6130

File tree

15 files changed

+760
-48
lines changed

15 files changed

+760
-48
lines changed

app/pages/auth.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@
5050
if (error) {
5151
toast.add({ title: 'Error', description: error.message, color: 'error' })
5252
} else {
53-
if (user.role === 'ADMIN') {
54-
await navigateTo('/admin/', { external: true })
55-
} else {
56-
await navigateTo('/', { external: true })
57-
}
53+
await navigateTo('/', { external: true })
5854
}
5955
}
6056
}

app/pages/clients.vue

Lines changed: 0 additions & 12 deletions
This file was deleted.

app/pages/index.vue

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
</script>
55

66
<template>
7-
<div v-if="pending">Loading users...</div>
8-
<div v-else-if="error">{{ error.message }}</div>
9-
<div v-else class="overflow-auto">
10-
<h1>Users in the database:</h1>
11-
<pre>{{ JSON.stringify(users, null, 2) }}</pre>
12-
</div>
7+
<UContainer class="py-20">
8+
<div class="flex flex-col items-center justify-center space-y-4">
9+
<p class="text-xl text-gray-500">Dashboard Coming Soon</p>
10+
</div>
11+
</UContainer>
1312
</template>

0 commit comments

Comments
 (0)