open-consul/ui-v2/app/helpers/from-entries.js

6 lines
156 B
JavaScript

import { helper } from '@ember/component/helper';
export default helper(function fromEntries(params /*, hash*/) {
return Object.fromEntries(params);
});