Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/TransactionUtils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
});

let deprecatedAllReports: OnyxCollection<Report> = {};
Onyx.connect({

Check warning on line 141 in src/libs/TransactionUtils/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT,
waitForCollectionCallback: true,
callback: (value) => {
Expand Down Expand Up @@ -541,7 +541,7 @@

// For backwards compatibility with Expensify Classic, we assume that Attendee Tracking is enabled by default on
// Control policies if the policy does not contain the attribute
return policy?.isAttendeeTrackingEnabled ?? false;
return policy?.isAttendeeTrackingEnabled ?? true;
}

/**
Expand Down
Loading