From 797c94226909f9acf4e2cd427cfbe3bb877267f0 Mon Sep 17 00:00:00 2001 From: Abdujamol Date: Tue, 23 Apr 2024 14:27:59 +0500 Subject: [PATCH] everything updated 23.04 --- src/Components/Companies/CompaniesEdit.tsx | 4 +- src/Components/Companies/CompaniesTable.tsx | 6 +-- src/Components/Requests/Requests.tsx | 1 + src/Components/Requests/RequestsEdit.tsx | 24 ++++++++-- src/Components/Tasks/TaskTable.tsx | 48 +++++++++++++++++++- src/Components/Updates/UpdateTable.tsx | 4 +- src/assets/telegram.png | Bin 0 -> 400045 bytes src/types/Tasks/TTasks.ts | 1 + 8 files changed, 75 insertions(+), 13 deletions(-) create mode 100644 src/assets/telegram.png diff --git a/src/Components/Companies/CompaniesEdit.tsx b/src/Components/Companies/CompaniesEdit.tsx index 76d5506..3a7e771 100644 --- a/src/Components/Companies/CompaniesEdit.tsx +++ b/src/Components/Companies/CompaniesEdit.tsx @@ -237,7 +237,7 @@ const CompanyEdit = () => { - {role === "Owner" && ( + {role !== "Checker" && ( )} - {role === "Owner" && ( + {role !== "Checker" && ( diff --git a/src/Components/Companies/CompaniesTable.tsx b/src/Components/Companies/CompaniesTable.tsx index 2c8b568..e067fe7 100644 --- a/src/Components/Companies/CompaniesTable.tsx +++ b/src/Components/Companies/CompaniesTable.tsx @@ -146,13 +146,13 @@ function CompanyTable({ return ( - {role === "Owner" && } - {role !== "Owner" && ( + {role !== "Checker" && } + {role === "Checker" && ( )} - {role === "Owner" && ( + {role !== "Checker" && (