Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added new SDKs management support
[src/xds/xds-agent.git]
/
webapp
/
src
/
app
/
pages
/
confirm
/
confirm-modal
/
confirm-modal.component.ts
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
(file)
--- 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,
YesNo = 1,
OKCancel,
OK,
+ Cancel,
}
@Component({
}
@Component({
@@
-77,6
+78,10
@@
export class ConfirmModalComponent implements OnInit {
this.textBtn = [ 'OK', '', '' ];
break;
this.textBtn = [ 'OK', '', '' ];
break;
+ case EType.Cancel:
+ this.textBtn = [ '', 'Cancel', '' ];
+ break;
+
case EType.OKCancel:
this.textBtn = [ 'OK', 'Cancel', '' ];
break;
case EType.OKCancel:
this.textBtn = [ 'OK', 'Cancel', '' ];
break;