ui fixes
Gitea Actions / Deploy (push) Successful in 1m4s

This commit is contained in:
vadim committed 2026-10-25 20:59:28 +03:00
1 parent f0706432d4
commit b9c5f64989
6 files changed
+1133 -231

No files matched your search

+5 -1
View File
@@ -34,6 +34,10 @@ const avatar = computed(() => {
return user?.image ?? undefined
})
const createdAt = computed(() => {
return user?.createdAt ? new Date(user.createdAt).toLocaleString('ru-RU') : ''
})
function showError(text: string, e: unknown) {
snackbarStore.add({ title: text, text: e instanceof Error ? e.message : '', color: 'error' })
}
@@ -130,7 +134,7 @@ async function removeAvatar() {
<div class="flex-grow-1">
<editable-text class="mb-2" :text="user.name" placeholder="Enter your name" required @changed="saveName" />
<div>E-mail: {{ user.email }}</div>
<div>Created At: {{ user.createdAt }}</div>
<div>Created At: {{ createdAt }}</div>
</div>
</div>
<v-skeleton-loader v-else type="avatar, list-item-three-line" />