From 33e560cebaf6430e8bea14dfc7fa17dd74327d9e Mon Sep 17 00:00:00 2001 From: VH Date: Thu, 18 May 2023 06:27:23 +0700 Subject: [PATCH] Add empty lines to make code look better --- src/libs/Notification/LocalNotification/BrowserNotifications.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/Notification/LocalNotification/BrowserNotifications.js b/src/libs/Notification/LocalNotification/BrowserNotifications.js index 345324bc613e..e55c0430fe17 100644 --- a/src/libs/Notification/LocalNotification/BrowserNotifications.js +++ b/src/libs/Notification/LocalNotification/BrowserNotifications.js @@ -103,8 +103,10 @@ export default { let body; const isChatRoom = ReportUtils.isChatRoom(report); + const {person, message} = reportAction; const plainTextPerson = _.map(person, (f) => f.text).join(); + // Specifically target the comment part of the message const plainTextMessage = (_.find(message, (f) => f.type === 'COMMENT') || {}).text;