diff --git a/js/mzta-placeholders.js b/js/mzta-placeholders.js index b0ea8647..6c276fad 100644 --- a/js/mzta-placeholders.js +++ b/js/mzta-placeholders.js @@ -339,6 +339,12 @@ export async function prepareCustomDataPHsForImport(placeholders){ return output; } +export function mapPlaceholderToSuggestion(p) { + return { + command: '{%' + p.id + '%}', + type: p.type + }; +} export const placeholdersUtils = { @@ -575,11 +581,4 @@ export const placeholdersUtils = { return element; }, - mapPlaceholderToSuggestion(p) { - return { - command: '{%' + p.id + '%}', - type: p.type - }; - }, - -} +} \ No newline at end of file