Skip to content

Commit

Permalink
MWPW-148282: Remove data layer names from Marketo Configurator (#2461)
Browse files Browse the repository at this point in the history
* Removing data layer descriptions from fields

* removing console.log
  • Loading branch information
JasonHowellSlavin authored Jun 17, 2024
1 parent b5d1b31 commit 112b462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/marketo-config/marketo-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Fields = ({ fieldsData }) => {
} catch {
const keyValuePairs = field.options.split(',').map((item) => {
const [key, val] = item.trim().split(':');
return key.trim() ? [key.trim(), `${(val || key).trim()} (${key.trim()})`] : ['', 'Choose an option...'];
return key.trim() ? [key.trim(), `${(val || key).trim()}`] : ['', 'Choose an option...'];
});
options = Object.fromEntries(keyValuePairs);
}
Expand Down

0 comments on commit 112b462

Please sign in to comment.