Spacing & undefined variables

This commit is contained in:
Rajeh Taher
2023-02-21 00:36:35 +02:00
committed by GitHub
parent e810b5146d
commit 8a84b5388d

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) {