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

4 lines
84 B
JavaScript

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