Skip to content

Commit d15ce3c

Browse files
committed
fix type
1 parent 9bc74a1 commit d15ce3c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/libs/ReportUtils.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -9315,7 +9315,12 @@ function isAdminOwnerApproverOrReportOwner(report: OnyxEntry<Report>, policy: On
93159315
/**
93169316
* Whether the user can join a report
93179317
*/
9318-
function canJoinChat(report: OnyxEntry<Report>, parentReportAction: OnyxInputOrEntry<ReportAction>, policy: OnyxInputOrEntry<Policy>, reportNameValuePairs: ReportNameValuePairs): boolean {
9318+
function canJoinChat(
9319+
report: OnyxEntry<Report>,
9320+
parentReportAction: OnyxInputOrEntry<ReportAction>,
9321+
policy: OnyxInputOrEntry<Policy>,
9322+
reportNameValuePairs: ReportNameValuePairs | undefined,
9323+
): boolean {
93199324
// We disabled thread functions for whisper action
93209325
// So we should not show join option for existing thread on whisper message that has already been left, or manually leave it
93219326
if (isWhisperAction(parentReportAction)) {

0 commit comments

Comments
 (0)