Merge pull request #17327 from Scroody/I-16943
Fixed: Note notification removed when shared notes pinned.
This commit is contained in:
commit
2138c98dc1
@ -168,11 +168,12 @@ class NavBar extends Component {
|
||||
amIModerator,
|
||||
style,
|
||||
main,
|
||||
isPinned,
|
||||
sidebarNavigation,
|
||||
currentUserId,
|
||||
} = this.props;
|
||||
|
||||
const hasNotification = hasUnreadMessages || hasUnreadNotes;
|
||||
const hasNotification = hasUnreadMessages || (hasUnreadNotes && !isPinned);
|
||||
|
||||
let ariaLabel = intl.formatMessage(intlMessages.toggleUserListAria);
|
||||
ariaLabel += hasNotification ? (` ${intl.formatMessage(intlMessages.newMessages)}`) : '';
|
||||
|
@ -115,6 +115,7 @@ export default withTracker(() => {
|
||||
}
|
||||
|
||||
return {
|
||||
isPinned: NotesService.isSharedNotesPinned(),
|
||||
currentUserId: Auth.userID,
|
||||
meetingId,
|
||||
presentationTitle: meetingTitle,
|
||||
|
Loading…
Reference in New Issue
Block a user