Skip to content

Commit

Permalink
Merge pull request #3896 from parasharrajat/parasharrajat/GSD
Browse files Browse the repository at this point in the history
[No QA] Conversion to Boolean
  • Loading branch information
Nicholas Murray authored Jul 8, 2021
2 parents 4003dcb + 4215686 commit 93724b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function createOption(personalDetailList, report, draftComments, {
login: !hasMultipleParticipants ? personalDetail.login : null,
reportID: report ? report.reportID : null,
isUnread: report ? report.unreadActionCount > 0 : null,
hasDraftComment: reportDraftComment && reportDraftComment.length > 0,
hasDraftComment: _.size(reportDraftComment) > 0,
keyForList: report ? String(report.reportID) : personalDetail.login,
searchText: getSearchText(report, personalDetailList, isDefaultChatRoom),
isPinned: lodashGet(report, 'isPinned', false),
Expand Down

0 comments on commit 93724b5

Please sign in to comment.