Spacing & undefined variables

This commit is contained in:
Rajeh Taher
2023-02-21 00:36:35 +02:00
committed by cheveguerra
parent 9c6b1ab7b1
commit 9cb90ff457

View File

@@ -365,8 +365,8 @@ exports.LoadUtils = () => {
returnObject.hydratedButtons = buttonsOptions.buttons; returnObject.hydratedButtons = buttonsOptions.buttons;
returnObject.buttons = new window.Store.TemplateButtonCollection(); returnObject.buttons = new window.Store.TemplateButtonCollection();
message.buttons.add( returnObject.buttons.add(
message.hydratedButtons.map((button, index) => { returnObject.hydratedButtons.map((button, index) => {
const i = `${null != button.index ? button.index : index}`; const i = `${null != button.index ? button.index : index}`;
if (button.urlButton) { if (button.urlButton) {