OnField_Issues_Oct_2W #455

Merged
pramod.mahajan merged 6 commits from OnField_Issues_Oct_2W into OnFieldWork_V1 2025-10-07 04:10:40 +00:00
Showing only changes of commit 9498ff0488 - Show all commits

View File

@ -40,11 +40,12 @@ const Header = () => {
const isProjectPath = pathname === "/projects";
const isDirectory = pathname === "/directory";
const isEmployeeList = pathname === "/employees";
const isMasters = pathname === "/masters";
// const isExpense = pathname === "/expenses";
const isEmployeeProfile = UUID_REGEX.test(pathname);
const hideDropPaths =
isDirectory || isEmployeeList || isEmployeeProfile;
isDirectory || isEmployeeList || isMasters || isEmployeeProfile;
const showProjectDropdown = !hideDropPaths;