From 98c86ff5dd83b21ebd4bfa2cfa85b17455fc3ab6 Mon Sep 17 00:00:00 2001 From: Tola Leng Date: Thu, 15 May 2025 22:45:28 +0800 Subject: [PATCH] Display user's active/inactive status from the backend in the profile details. --- application/src/services/userService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/services/userService.ts b/application/src/services/userService.ts index c8ad209..8b3a51d 100644 --- a/application/src/services/userService.ts +++ b/application/src/services/userService.ts @@ -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 {