mirror of https://github.com/rancher/ui.git
21 lines
422 B
JavaScript
21 lines
422 B
JavaScript
import { alias } from '@ember/object/computed';
|
|
import Component from '@ember/component';
|
|
import ModalBase from 'shared/mixins/modal-base';
|
|
import layout from './template';
|
|
|
|
export default Component.extend(ModalBase, {
|
|
layout,
|
|
classNames: ['large-modal'],
|
|
model : alias('modalService.modalOpts'),
|
|
|
|
actions: {
|
|
done() {
|
|
this.send('cancel');
|
|
},
|
|
},
|
|
|
|
doneSaving() {
|
|
this.send('cancel');
|
|
},
|
|
});
|