consul/ui-v2/app/utils/confirm.js

5 lines
142 B
JavaScript

import { Promise } from 'rsvp';
export default function(message, confirmation = confirm) {
return Promise.resolve(confirmation(message));
}