Fix ui flake when switching to activity and connection tabs
This commit is contained in:
parent
dc2b8f7c5e
commit
1754274d46
@ -641,6 +641,8 @@ function showQueryPanel() {
|
|||||||
|
|
||||||
function showConnectionPanel() {
|
function showConnectionPanel() {
|
||||||
setCurrentTab("table_connection");
|
setCurrentTab("table_connection");
|
||||||
|
$("#input").hide();
|
||||||
|
$("#body").addClass("full");
|
||||||
|
|
||||||
apiCall("get", "/connection", {}, function(data) {
|
apiCall("get", "/connection", {}, function(data) {
|
||||||
var rows = [];
|
var rows = [];
|
||||||
@ -653,9 +655,6 @@ function showConnectionPanel() {
|
|||||||
columns: ["attribute", "value"],
|
columns: ["attribute", "value"],
|
||||||
rows: rows
|
rows: rows
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#input").hide();
|
|
||||||
$("#body").addClass("full");
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -670,10 +669,11 @@ function showActivityPanel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setCurrentTab("table_activity");
|
setCurrentTab("table_activity");
|
||||||
|
$("#input").hide();
|
||||||
|
$("#body").addClass("full");
|
||||||
|
|
||||||
apiCall("get", "/activity", {}, function(data) {
|
apiCall("get", "/activity", {}, function(data) {
|
||||||
buildTable(data, null, null, options);
|
buildTable(data, null, null, options);
|
||||||
$("#input").hide();
|
|
||||||
$("#body").addClass("full");
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user