mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-13 15:35:28 +03:00
History page query loading fixup (#632)
This commit is contained in:
parent
a864cbcee8
commit
f3353d9007
@ -416,7 +416,11 @@ function buildTable(results, sortColumn, sortOrder, options) {
|
||||
$("#results_body").html(rows);
|
||||
|
||||
// Show number of rows rendered on the page
|
||||
$("#result-rows-count").html(results.stats.rows_count + " rows in " + results.stats.query_duration_ms + " ms");
|
||||
if (results.stats) {
|
||||
$("#result-rows-count").html(results.stats.rows_count + " rows in " + results.stats.query_duration_ms + " ms");
|
||||
} else {
|
||||
$("#result-rows-count").html(results.rows.length + " rows");
|
||||
}
|
||||
}
|
||||
|
||||
function setCurrentTab(id) {
|
||||
|
Loading…
Reference in New Issue
Block a user