mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Dashboard: Fixed all insight bugs (#2612)
* fixed all insight bugs * removed unused imports * added comment
This commit is contained in:
@@ -188,8 +188,16 @@ export class InsightsDialogView extends Modal {
|
|||||||
for (let i = 0; i < this._model.columns.length; i++) {
|
for (let i = 0; i < this._model.columns.length; i++) {
|
||||||
resourceArray.push({ label: this._model.columns[i], value: element.data[i], data: element.data });
|
resourceArray.push({ label: this._model.columns[i], value: element.data[i], data: element.data });
|
||||||
}
|
}
|
||||||
|
|
||||||
this._bottomTableData.clear();
|
this._bottomTableData.clear();
|
||||||
this._bottomTableData.push(resourceArray);
|
this._bottomTableData.push(resourceArray);
|
||||||
|
// this table view has to be collapsed and expanded
|
||||||
|
// because the initial expand doesn't have the
|
||||||
|
// loaded data
|
||||||
|
if (bottomTableView.isExpanded()) {
|
||||||
|
bottomTableView.collapse();
|
||||||
|
bottomTableView.expand();
|
||||||
|
}
|
||||||
this._enableTaskButtons(true);
|
this._enableTaskButtons(true);
|
||||||
} else {
|
} else {
|
||||||
this._enableTaskButtons(false);
|
this._enableTaskButtons(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user