[assist] Expand the right assist content if there's just one table present
@@ -2462,6 +2462,10 @@ from desktop.views import _ko
// This fetches the columns for each table synchronously with 2 second in between.
var loadEntries = function () {
window.clearTimeout(loadEntriesTimeout);
+ if (self.activeTables().length === 1) {
+ self.activeTables()[0].open(true);
+ }
+ else {
loadEntriesTimeout = window.setTimeout(function () {
self.activeTables().every(function (table) {
if (!table.loaded && !table.hasErrors() && !table.loading()) {
@@ -2471,6 +2475,7 @@ from desktop.views import _ko
return !table.loading();
})
}, 2000);
+ }
};
self.autocompleteFromEntries = function (nonPartial, partial) {
