From 74077bbc5592a7fd1e718cc3bab4b1012403ad91 Mon Sep 17 00:00:00 2001 From: yogevbd Date: Tue, 7 Aug 2018 10:45:46 +0300 Subject: [PATCH] merging buttons fix --- lib/src/commands/LayoutTreeCrawler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/commands/LayoutTreeCrawler.ts b/lib/src/commands/LayoutTreeCrawler.ts index 0d00c89d85c..9c29d9c9637 100644 --- a/lib/src/commands/LayoutTreeCrawler.ts +++ b/lib/src/commands/LayoutTreeCrawler.ts @@ -87,7 +87,7 @@ export class LayoutTreeCrawler { } _applyButtonsStyle(buttons, style) { - if (buttons) { + if (_.isArray(buttons)) { buttons.forEach((button) => { _.merge(button, style); });