open-consul/ui-v2/app/services/confirm.js

9 lines
187 B
JavaScript

import Service from '@ember/service';
import confirm from 'consul-ui/utils/confirm';
export default Service.extend({
execute: function(message) {
return confirm(message);
},
});