Skip to content

Commit 2fbd6a8

Browse files
committed
Get rid of not defined assignee.assigneeChatReport
1 parent b7a230e commit 2fbd6a8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/pages/home/report/ReportFooter.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function ReportFooter({
9999
if (email) {
100100
assignee = Object.values(allPersonalDetails).find((value) => value?.login === email) ?? {};
101101
}
102-
Task.createTaskAndNavigate(report.reportID, title, '', assignee?.login ?? '', assignee.accountID, assignee.assigneeChatReport, report.policyID);
102+
Task.createTaskAndNavigate(report.reportID, title, '', assignee?.login ?? '', assignee.accountID, undefined, report.policyID);
103103
return true;
104104
},
105105
[allPersonalDetails, report.policyID, report.reportID],

src/types/onyx/PersonalDetails.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type {AvatarSource} from '@libs/UserUtils';
22
import type TIMEZONES from '@src/TIMEZONES';
33
import type * as OnyxCommon from './OnyxCommon';
4-
import type Report from './Report';
54

65
type SelectedTimezone = (typeof TIMEZONES)[number];
76

@@ -80,9 +79,6 @@ type PersonalDetails = OnyxCommon.OnyxValueWithOfflineFeedback<{
8079

8180
/** Status of the current user from their personal details */
8281
status?: Status;
83-
84-
/** Chat report with assignee of task */
85-
assigneeChatReport?: Report;
8682
}>;
8783

8884
type PersonalDetailsList = Record<string, PersonalDetails | null>;

0 commit comments

Comments
 (0)