open-consul/ui/packages/consul-ui/app/helpers/left-trim.js

7 lines
201 B
JavaScript

import { helper } from '@ember/component/helper';
import leftTrim from 'consul-ui/utils/left-trim';
export default helper(function([str = '', search = ''], hash) {
return leftTrim(str, search);
});