From 354c6d6e08285b396d58c4c25e4a57aed1c6e1c0 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Mon, 3 Feb 2020 17:07:28 +0100
Subject: [PATCH] fix show process comment

---
 src/frontend/app/visa/visa-workflow.component.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/visa/visa-workflow.component.html b/src/frontend/app/visa/visa-workflow.component.html
index 9b5bac6d43a..314701bd922 100644
--- a/src/frontend/app/visa/visa-workflow.component.html
+++ b/src/frontend/app/visa/visa-workflow.component.html
@@ -85,7 +85,7 @@
                     <div class="workflowLineSubLabel">
                         {{diffusion.item_entity}}
                     </div>
-                    <div class="workflowLineSubLabel" *ngIf="adminMode && diffusion.process_date === null">
+                    <div class="workflowLineSubLabel" *ngIf="adminMode && functions.empty(diffusion.process_date)">
                         <mat-form-field>
                             <input matInput [disabled]="!adminMode || diffusion.process_date != null" [placeholder]="lang.visaNote" [(ngModel)]="diffusion.process_comment">
                         </mat-form-field>
-- 
GitLab