mirror of https://github.com/rancher/ui.git
16 lines
361 B
JavaScript
16 lines
361 B
JavaScript
import Controller from '@ember/controller';
|
|
import { get } from '@ember/object';
|
|
import { inject as service } from '@ember/service';
|
|
|
|
export default Controller.extend({
|
|
modal: service(),
|
|
|
|
newPassword: null,
|
|
|
|
actions: {
|
|
editPassword() {
|
|
get(this, 'modal').toggleModal('modal-edit-password', { user: get(this, 'model.account') });
|
|
},
|
|
},
|
|
});
|