Skip to content

Commit

Permalink
chore: revert deletion of report property
Browse files Browse the repository at this point in the history
  • Loading branch information
pac-guerreiro committed Nov 14, 2024
1 parent 8f35158 commit 8bc86fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/DebugUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ function validateReportDraftProperty(key: keyof Report, value: string) {
role: CONST.REPORT.ROLE,
pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION,
pendingFields: 'object',
notificationPreference: CONST.REPORT.NOTIFICATION_PREFERENCE,
},
'number',
);
Expand Down
3 changes: 3 additions & 0 deletions src/types/onyx/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ type PendingChatMember = {
type Participant = OnyxCommon.OnyxValueWithOfflineFeedback<{
/** What is the role of the participant in the report */
role?: ValueOf<typeof CONST.REPORT.ROLE>;

/** Whether the participant is visible in the report */
notificationPreference: NotificationPreference;
}>;

/** Types of invoice receivers in a report */
Expand Down

0 comments on commit 8bc86fe

Please sign in to comment.