alarm count
This commit is contained in:
@@ -66,14 +66,14 @@ export const HeaderNavigation = ({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
useEffect(() => {
|
||||||
|
if(headerType === HeaderType.Home){
|
||||||
|
callAlarmCount();
|
||||||
|
}
|
||||||
|
}, [headerType]);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let mids = useStore.getState().UserStore.selectOptionsMids;
|
let mids = useStore.getState().UserStore.selectOptionsMids;
|
||||||
setSelectOptions(mids);
|
setSelectOptions(mids);
|
||||||
|
|
||||||
if(headerType === HeaderType.Alim){
|
|
||||||
callAlarmCount();
|
|
||||||
}
|
|
||||||
}, [loginSuccess]);
|
}, [loginSuccess]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user