Skip to content

fix: hide the visitor questionary edit button when the visit is in draft state - #1247

Merged
yoganandaness merged 2 commits into
developfrom
SWAP-4924-user-office-visit-questionary-review-page-error
Nov 4, 2025
Merged

fix: hide the visitor questionary edit button when the visit is in draft state#1247
yoganandaness merged 2 commits into
developfrom
SWAP-4924-user-office-visit-questionary-review-page-error

Conversation

@yoganandaness

Copy link
Copy Markdown
Contributor

Description

hide the visitor questionary edit button when the visit is in draft state.

Motivation and Context

When a visit questionary is not initiated and is in draft state, it does not make sense to show the non existing questionary to the user officer

How Has This Been Tested

Manually

Fixes

Changes

In the ExperimentVisitsTable, the edit icon has been hidden when the visit is in the draft state

Depends on

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@yoganandaness
yoganandaness requested a review from a team as a code owner November 1, 2025 13:58
@yoganandaness
yoganandaness requested review from TCMeldrum, janosbabik and mehta-pooja123 and removed request for a team November 1, 2025 13:58
@yoganandaness
yoganandaness merged commit 667e7d3 into develop Nov 4, 2025
22 checks passed
@yoganandaness
yoganandaness deleted the SWAP-4924-user-office-visit-questionary-review-page-error branch November 4, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants