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

18 lines
280 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
2018-04-03 14:16:57 +00:00
export default Component.extend({
2018-04-03 14:16:57 +00:00
/*
* @public
* @param DS.Model
*
* the pki-certificate model
*/
item: null,
actions: {
delete(item) {
item.save({ adapterOptions: { method: 'revoke' } });
},
},
});