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

fix file editor bug

parent 8643b173
No related branches found
Tags end-of-sprint/5
1 merge request!1067fix file editor bug
Pipeline #6714 passed
......@@ -27,7 +27,7 @@
</a>
<app-editor *ngIf="shouldHaveWeblog() && !capabilityRequest.ingested && capability.requires_qa" style="margin-left: 150px" modalTitleText="Edit QA Notes" [textToEdit]="qaNotes" (editorOpenEvent)="getQaNotesURL()" (newEditEvent)="emitEditEventToParent($event)"><span class="fas fa-edit"></span> Edit QA Notes</app-editor>
</div>
<div id="warning-container" class="d-flex justify-content-center py-3" *ngIf="shouldHaveWeblog &&
<div id="warning-container" class="d-flex justify-content-center py-3" *ngIf="currentVersion.current_execution && shouldHaveWeblog() &&
(currentVersion.current_execution.state_name === 'Failed' || currentVersion.current_execution.state_name === 'Error')">
<em>Warning: This request is in an Error or Failed state, weblog might not exist.</em>
</div>
......
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