Skip to content

Commit 96b4875

Browse files
committed
Bug fix: select_info is undefined
1 parent b79abf9 commit 96b4875

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/firefly/js/ui/tap/TableColumnsConstraints.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ function reorganizeTableModel(tableModel, columnNames, reset) {
190190
c.prefWidth= 11;
191191
}
192192
});
193-
const selectInfo= (usingPrincipal||SELECT_ALL_COLUMNS_WHEN_NO_PRINCIPAL) ? selectInfoCls.data : undefined;
193+
const selectInfo= (usingPrincipal||SELECT_ALL_COLUMNS_WHEN_NO_PRINCIPAL) ?
194+
selectInfoCls.data :
195+
SelectInfo.newInstance({rowCount: data.length}).data;
194196

195197
modifiedTableModel = {tbl_id, totalRows: data.length, tableData: {columns, data}, selectInfo, request: {tbl_id}};
196198
return modifiedTableModel;

0 commit comments

Comments
 (0)