Skip to content

Commit

Permalink
Merge pull request #31294 from zukilover/webfix/31208-error-chat-bubble
Browse files Browse the repository at this point in the history
31208 - Fix app error on chat bubble click from OD
  • Loading branch information
deetergp authored Nov 20, 2023
2 parents 6b79e4a + 628e284 commit 7a9c773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ function getLastClosedReportAction(reportActions: ReportActions | null): OnyxEnt
* 4. We will get the second last action from filtered actions because the last
* action is always the created action
*/
function getFirstVisibleReportActionID(sortedReportActions: ReportAction[], isOffline: boolean): string {
function getFirstVisibleReportActionID(sortedReportActions: ReportAction[] = [], isOffline = false): string {
if (!Array.isArray(sortedReportActions)) {
return '';
}
Expand Down

0 comments on commit 7a9c773

Please sign in to comment.