Skip to content

Commit

Permalink
🐛 Don't allow archived questionnaires to be assessed (#1388)
Browse files Browse the repository at this point in the history
- Restrict archived questionnaires to read-only

Signed-off-by: ibolton336 <ibolton@redhat.com>
Co-authored-by: Scott Dickerson <sdickers@redhat.com>
  • Loading branch information
ibolton336 and sjd78 authored Sep 21, 2023
1 parent 640b187 commit add2717
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const AssessmentActionsTable: React.FC<AssessmentActionsTableProps> = ({
<QuestionnairesTable
application={application}
archetype={archetype}
isReadonly
questionnaires={archivedQuestionnaires}
assessments={assessments}
isFetching={isFetchingQuestionnaires || isFetchingAssessmentsById}
Expand Down

0 comments on commit add2717

Please sign in to comment.