We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9f1a8 commit 35af614Copy full SHA for 35af614
1 file changed
src/libs/TransactionUtils/index.ts
@@ -741,8 +741,6 @@ function getAttendees(transaction: OnyxInputOrEntry<Transaction>): Attendee[] {
741
const creatorEmail = creatorDetails?.login ?? '';
742
const creatorDisplayName = creatorDetails?.displayName ?? creatorEmail;
743
744
- // Check if the creator is already in the attendees list
745
- const isCreatorAlreadyInAttendees = attendees.some((attendee) => attendee.accountID === creatorAccountID);
746
747
if (!isCreatorAlreadyInAttendees && creatorEmail) {
748
attendees.push({
0 commit comments