From 3ba442d00be6ba7cdf5e095ba4225a3579b7e16d Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Thu, 31 Dec 2020 10:22:21 +0100
Subject: [PATCH] FEAT #15116 TIME 0:05 add cancel button

---
 .../dateOption/date-option-modal.component.html                | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/frontend/app/documentDateList/dateOption/date-option-modal.component.html b/src/frontend/app/documentDateList/dateOption/date-option-modal.component.html
index a481f3b8c3..301b1d77e0 100644
--- a/src/frontend/app/documentDateList/dateOption/date-option-modal.component.html
+++ b/src/frontend/app/documentDateList/dateOption/date-option-modal.component.html
@@ -41,6 +41,9 @@
             <ion-button type="submit" color="primary" (click)="onSubmit()">
                 <ion-label>{{'lang.save' | translate}}</ion-label>
             </ion-button>
+            <ion-button type="button" (click)="dismissModal()">
+                <ion-label>{{'lang.cancel' | translate}}</ion-label>
+            </ion-button>
         </ion-buttons>
     </ion-toolbar>
 </ion-footer>
\ No newline at end of file
-- 
GitLab