Fix missing notification badge (#3100)
This commit is contained in:
parent
a27202fbbc
commit
fe337904b2
@ -102,11 +102,7 @@ const NotificationsLink = () => {
|
|||||||
const showCount = useAppSelector(
|
const showCount = useAppSelector(
|
||||||
(state) =>
|
(state) =>
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
||||||
state.local_settings.getIn([
|
state.local_settings.getIn(['notifications', 'tab_badge']) as boolean,
|
||||||
'notifications',
|
|
||||||
'tab_badge',
|
|
||||||
false,
|
|
||||||
]) as boolean,
|
|
||||||
);
|
);
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user