Redesign composer thunks (#39945)

This commit is contained in:
Echo authored and GitHub committed 2026-07-28 14:07:12 +00:00
1 parent 165613d2a6
commit cd909b22c0
12 files changed
+123 -42

No files matched your search

@@ -48,7 +48,12 @@ export const selectSettingsNotificationsShowUnread = (state: RootState) =>
state.settings.getIn(['notifications', 'showUnread']) as boolean;
export const selectNeedsNotificationPermission = (state: RootState) =>
(state.settings.getIn(['notifications', 'alerts']).includes(true) &&
((
state.settings.getIn(['notifications', 'alerts']) as Immutable.Map<
string,
boolean
>
).includes(true) &&
state.notifications.get('browserSupport') &&
state.notifications.get('browserPermission') === 'default' &&
!state.settings.getIn([