File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type Props = {
1616const LeftNav = ( props : Props ) => {
1717 const { navigate} = props
1818 const badgeNumbers = C . useNotifState ( s => s . navBadges )
19- const badgeNotifications = C . usePushState ( s => ! s . hasPermissions )
19+ const badgeNotifications = C . usePushState ( s => ( C . isElectron ? 0 : ! s . hasPermissions ? 1 : 0 ) )
2020
2121 const onSignout = React . useCallback ( ( ) => {
2222 navigate ( C . Settings . settingsLogOutTab )
@@ -123,7 +123,7 @@ const LeftNav = (props: Props) => {
123123 />
124124 ) }
125125 < SettingsItem
126- badgeNumber = { badgeNotifications ? 1 : 0 }
126+ badgeNumber = { badgeNotifications }
127127 text = "Notifications"
128128 type = { C . Settings . settingsNotificationsTab }
129129 selected = { props . selected === C . Settings . settingsNotificationsTab }
You can’t perform that action at this time.
0 commit comments