mirror of https://github.com/rancher/ui.git
implement cancel modal for yaml form switching
This commit is contained in:
parent
2a7d9db595
commit
f1d99121d0
|
|
@ -12,6 +12,9 @@ export default Component.extend(ModalBase, {
|
|||
confirm() {
|
||||
this.modalService.modalOpts.finish(this.close.bind(this));
|
||||
},
|
||||
cancel() {
|
||||
this.modalService.modalOpts.finish(this.close.bind(this), true);
|
||||
},
|
||||
},
|
||||
|
||||
close() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue