Skip to content

Commit

Permalink
disable feature while it is in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Julesssss committed Oct 23, 2024
1 parent 92a73c2 commit e82ef4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/TransactionUtils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ function isMerchantMissing(transaction: OnyxEntry<Transaction>) {
}

function shouldShowAttendees(iouType: IOUType, policy: OnyxEntry<Policy>): boolean {

Check failure on line 214 in src/libs/TransactionUtils/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

'iouType' is defined but never used

Check failure on line 214 in src/libs/TransactionUtils/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

'policy' is defined but never used
return iouType === CONST.IOU.TYPE.SUBMIT && !!policy?.id && (policy?.type === CONST.POLICY.TYPE.CORPORATE || policy?.type === CONST.POLICY.TYPE.TEAM);
return false;
// To be renabled once feature is complete: https://github.com/Expensify/App/issues/44725
// return iouType === CONST.IOU.TYPE.SUBMIT && !!policy?.id && (policy?.type === CONST.POLICY.TYPE.CORPORATE || policy?.type === CONST.POLICY.TYPE.TEAM);
}

/**
Expand Down

0 comments on commit e82ef4e

Please sign in to comment.