There was an error while loading. Please reload this page.
1 parent d3bae40 commit 4a78684Copy full SHA for 4a78684
1 file changed
js/main.js
@@ -396,7 +396,8 @@ function renderQuery(query) {
396
let isEmptyTable = true;
397
const columnNames = sel.getColumnNames();
398
for (let i = 0; i < columnNames.length; i++) {
399
- const type = columnTypes.get(columnNames[i]);
+ const columnName = columnNames[i];
400
+ const type = columnTypes.has(columnName) ? columnTypes.get(columnNames[i]) : "";
401
thead.append(`<th><span data-bs-toggle="tooltip" title="${type}">${columnNames[i]}</span></th>`);
402
}
403
0 commit comments