Skip to content

[To-do counters] SearchTransaction > canDelete FE version #75453

@iwiznia

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions