From 7ec2cdffeefd7ff821d90827e8de059da2cb59db Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Tue, 10 Mar 2020 17:18:55 +0100 Subject: [PATCH] FEAT #12091 TIME 0 dis. action when editing editor --- src/frontend/app/process/process.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/process/process.component.html b/src/frontend/app/process/process.component.html index 2498ca7e5fd..d7362fd7f5a 100644 --- a/src/frontend/app/process/process.component.html +++ b/src/frontend/app/process/process.component.html @@ -148,7 +148,7 @@ </ng-container> </mat-menu> <button mat-button *ngIf="!appService.getViewMode()" - [disabled]="actionService.loading || selectedAction.id === 0" class="button-form-primary-filled" + [disabled]="actionService.loading || selectedAction.id === 0 || (appDocumentViewer !== undefined && !appDocumentViewer.isEditorLoaded())" class="button-form-primary-filled" style="width: 150px;align-items: center;justify-content: center;text-align: center;display: flex;" (click)="onSubmit()">{{lang.validate}}</button> <button mat-icon-button *ngIf="appService.getViewMode()" class="button-form-primary" -- GitLab