open-vault/ui/app/components/pki-cert-popup.js
2018-04-03 09:16:57 -05:00

18 lines
271 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
/*
* @public
* @param DS.Model
*
* the pki-certificate model
*/
item: null,
actions: {
delete(item) {
item.save({ adapterOptions: { method: 'revoke' } });
},
},
});