|
@@ -147,17 +169,30 @@ export function AdminPanel() {
|
-
+
+
+
+
|
);
diff --git a/frontend/src/store/auth.ts b/frontend/src/store/auth.ts
index c5bc783..108f38f 100644
--- a/frontend/src/store/auth.ts
+++ b/frontend/src/store/auth.ts
@@ -14,7 +14,7 @@ export interface AuthUser {
first_name: string;
last_name: string;
phone: string | null;
- role: "pm" | "procurement_manager" | "admin" | null;
+ role: "pm" | "procurement_manager" | "admin" | "supervisor" | null;
role_label: string | null;
project_id: string | null; // پروژهی فعال (PM) — با سوییچر عوض میشود
project_name: string | null;