mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
Spacing & undefined variables
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user