Skip to content

[Due for payment 2026-01-13] [To-do counters] SearchTransaction > canDelete FE version #75453

Description

@iwiznia

Coming from #73970
Needs https://github.com/Expensify/Auth/pull/18282 to be merged to be worked on

  1. In App, refactor isAwaitingFirstLevelApproval to follow this logic in Auth, removing the dependency on all report transactions.
  2. Refactor canDeleteTransaction to be a pure function
  3. In App, remove canDelete
  4. Run npm run typecheck. Fix any errors by replacing the calls to transaction.canDelete with canDeleteTransaction

After you are done, please post a message in #73970 so we can do step 7

Issue OwnerCurrent Issue Owner: @dylanexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions