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

4 lines
84 B
JavaScript
Raw Normal View History

export default function(arr = []) {
return arr.map(item => `template-${item}`);
}