Refactor code that passes declarationInProgress to ModalContent

Description

Summary: Leverage props.isInProgress to disable the confirmation button.
Details: introduced a generic isInProgress prop which should be used in lieu of props like claimedReturnInProgress or declarationInProgress that pollute this generic component with business logic they don't need to know about.
Acceptance criteria:

  • Code which passes declarationInProgress to <ModalContent> is refactored to pass isInProgress instead.

  • declarationInProgress prop is removed from <ModalContent>.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 23, 2022 at 12:16 PM
Updated February 20, 2023 at 2:34 PM
Resolved December 2, 2022 at 2:38 PM
TestRail: Cases
TestRail: Runs