open-vault/ui/app/components/pki-cert-show.js

10 lines
186 B
JavaScript

import RoleEdit from './role-edit';
export default RoleEdit.extend({
actions: {
delete() {
this.get('model').save({ adapterOptions: { method: 'revoke' } });
},
},
});