浏览代码

HUE-7219 [dashboard] New columns are one slot too small when adding a new one

Romain Rigaux 8 年之前
父节点
当前提交
fef2c0bb6b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/ko.common-dashboard.js

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/ko.common-dashboard.js

@@ -95,6 +95,7 @@ var Column = function (size, rows, vm) {
     var col = new Column(0, [], vm);
     vm.columns.push(col);
     col.expandColumn();
+    col.expandColumn(); // Twice
   }
 
   self.removeColumn = function () {