File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 185
185
},
186
186
methods: {
187
187
layoutUpdate () {
188
- if (this .layout !== undefined && this .layout .length !== this .lastLayoutLength ) {
189
- // console.log("### LAYOUT UPDATE!");
190
- this .lastLayoutLength = this .layout .length ;
191
- // this.$broadcast("updateWidth", this.width);
188
+ if (this .layout !== undefined ) {
189
+ if (this .layout .length !== this .lastLayoutLength ) {
190
+ // console.log("### LAYOUT UPDATE!");
191
+ this .lastLayoutLength = this .layout .length ;
192
+ }
193
+ compact (this .layout , this .verticalCompact );
194
+ this .eventBus .$emit (" updateWidth" , this .width );
195
+ this .updateHeight ();
192
196
}
193
- compact (this .layout , this .verticalCompact );
194
- this .eventBus .$emit (" updateWidth" , this .width );
195
- this .updateHeight ();
196
197
},
197
198
updateHeight : function () {
198
199
this .mergedStyle = {
You can’t perform that action at this time.
0 commit comments