feat: UsersTable and UserCardList get Email, Display name (dash when empty), Role (new RoleBadge), Invite status and Created

This commit is contained in:
fsylvain committed 2026-09-30 02:00:46 +02:00
1 parent 153fd8719a
commit 1ece778caf
19 files changed
+485 -204

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { ApiError, useApi } from '@/composables/useApi'
import { ApiError, useApi, type UserRole } from '@/composables/useApi'
export type SessionStatus = 'idle' | 'checking' | 'ready' | 'error'
@@ -10,6 +10,7 @@ export interface Session {
username?: string
email?: string
displayName: string
role?: UserRole
}
export const useSessionStore = defineStore('session', () => {