We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb91d95 commit fc3c0bbCopy full SHA for fc3c0bb
src/libs/reportUtils.js
@@ -29,8 +29,8 @@ function getReportParticipantsTitle(logins) {
29
* @param {Object} reportActionMessage report action's message as text and html
30
* @returns {Boolean}
31
*/
32
-function isReportMessageAttachment(reportActionMessage) {
33
- return reportActionMessage.text === '[Attachment]' && reportActionMessage.html !== '[Attachment]';
+function isReportMessageAttachment({text, html}) {
+ return text === '[Attachment]' && html !== '[Attachment]';
34
}
35
36
/**
0 commit comments