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" && (