Added Emplyee Access missing names
This commit is contained in:
parent
8f6c653f91
commit
eebb88a3b6
|
|
@ -96,7 +96,7 @@ const SelectionComponent = forwardRef((props, ref) => {
|
|||
}));
|
||||
|
||||
let SAAccessCommonMaster = SadminuserAccess?.find(
|
||||
(e) => e?.MenuName === 'Print Setup'
|
||||
(e) => e?.MenuName === 'Print Forms'
|
||||
);
|
||||
|
||||
const formRef = useRef(null);
|
||||
|
|
@ -395,7 +395,7 @@ const SelectionComponent = forwardRef((props, ref) => {
|
|||
};
|
||||
let response = await dispatch(getEmpAccess(data)).unwrap();
|
||||
let datas = response?.data?.data?.[0]?.EmpAccessDetails?.filter(
|
||||
(item) => item.ConfigName === 'Print Setup'
|
||||
(item) => item.ConfigName === 'Print Forms'
|
||||
);
|
||||
setEmpData(datas?.[0]);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue