소스 검색

merging buttons fix

yogevbd 6 년 전
부모
커밋
74077bbc55
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      lib/src/commands/LayoutTreeCrawler.ts

+ 1
- 1
lib/src/commands/LayoutTreeCrawler.ts 파일 보기

@@ -87,7 +87,7 @@ export class LayoutTreeCrawler {
87 87
   }
88 88
 
89 89
   _applyButtonsStyle(buttons, style) {
90
-    if (buttons) {
90
+    if (_.isArray(buttons)) {
91 91
       buttons.forEach((button) => {
92 92
         _.merge(button, style);
93 93
       });