In Teams Tab when we Assign a project then this dropdown not change its state . #181
@ -99,9 +99,17 @@ const Teams = ({ project }) => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
submitAllocations( items ,true);
|
submitAllocations(items, true);
|
||||||
|
|
||||||
|
// Force switch to active view after assignment
|
||||||
|
setActiveEmployee(true);
|
||||||
|
setFilteredEmployees(employees.filter((emp) => emp.isActive));
|
||||||
|
|
||||||
|
// Also update dropdown select if needed
|
||||||
|
const dropdown = document.querySelector('select[name="DataTables_Table_0_length"]');
|
||||||
|
if (dropdown) dropdown.value = "true";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
const getRole = (jobRoleId) => {
|
const getRole = (jobRoleId) => {
|
||||||
if (loading) return "Loading...";
|
if (loading) return "Loading...";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user