diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-21 15:07:04 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-23 00:43:11 +0100 |
commit | 45f6472d1e8ecad428da314a6d762143f033865d (patch) | |
tree | 3d4f3f413ab752fcb0d5c661fd3fec63ba5f5c24 /webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts | |
parent | a85f3ef5017e7e1406476194cd5f3e848a3718f9 (diff) |
Added new SDKs management supportv1.0.0-rc2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts')
-rw-r--r-- | webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts b/webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts index 3282d6b..b5b5db0 100644 --- a/webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts +++ b/webapp/src/app/pages/confirm/confirm-modal/confirm-modal.component.ts @@ -24,6 +24,7 @@ export enum EType { YesNo = 1, OKCancel, OK, + Cancel, } @Component({ @@ -77,6 +78,10 @@ export class ConfirmModalComponent implements OnInit { this.textBtn = [ 'OK', '', '' ]; break; + case EType.Cancel: + this.textBtn = [ '', 'Cancel', '' ]; + break; + case EType.OKCancel: this.textBtn = [ 'OK', 'Cancel', '' ]; break; |