Skip to content
Snippets Groups Projects
Commit 9bdcb770 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make sure create image and carta buttons don't show up for unsubmitted...

make sure create image and carta buttons don't show up for unsubmitted versions on request completion
parent eb5d0182
No related branches found
No related tags found
1 merge request!1007catch qa fail case when request has mutable version
Pipeline #6078 passed
This commit is part of merge request !1007. Comments created here will be created in the context of that merge request.
......@@ -13,7 +13,7 @@
*ngIf="
capabilityRequest.state === 'Complete' &&
(capabilityRequest.capability_name === 'std_calibration' ||
capabilityRequest.capability_name === 'restore_cms')
capabilityRequest.capability_name === 'restore_cms') && selectedVersion.current_execution
"
>
<button
......@@ -37,7 +37,7 @@
(capabilityRequest.state === 'Complete' ||
(selectedVersion.current_execution && selectedVersion.current_execution.state_name === 'Awaiting QA') ||
(selectedVersion.current_execution && selectedVersion.current_execution.state_name === 'AoD Review')
)
) && selectedVersion.current_execution
"
>
<button
......
......@@ -571,7 +571,6 @@ class QaPass(Action):
f"{version.current_execution.current_workflow_request_id}/qa_fail"
)
@staticmethod
def abort_running_execution(version: CapabilityVersion):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment