mirror of https://github.com/rancher/ui.git
17 lines
375 B
JavaScript
17 lines
375 B
JavaScript
import Overlay from 'ui/overlay/view';
|
|
import { addAction } from 'ui/utils/add-view-action';
|
|
|
|
export default Overlay.extend({
|
|
actions: {
|
|
overlayClose: function() {
|
|
this.get('controller').send('cancel');
|
|
},
|
|
|
|
overlayEnter: function() {
|
|
this.get('controller').send('save');
|
|
},
|
|
|
|
addLabel: addAction('addLabel', '.label-key'),
|
|
}
|
|
});
|