Display user's active/inactive status from the backend in the profile details.

This commit is contained in:
Tola Leng
2025-05-15 22:45:28 +08:00
parent 42441b615a
commit 98c86ff5dd
+1 -1
View File
@@ -1,4 +1,3 @@
import { pb } from "@/lib/pocketbase";
export interface User {
@@ -13,6 +12,7 @@ export interface User {
avatar?: string;
role?: string;
isActive?: boolean;
status?: string; // Added this field to support the backend status
}
export interface CreateUserData {