mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -148,6 +148,8 @@ export class CurrentModelsComponent extends ModelViewBase implements IPageView {
|
|||||||
|
|
||||||
if (this._dataTable.isEmpty) {
|
if (this._dataTable.isEmpty) {
|
||||||
formBuilder.addFormItem({ title: '', component: this._labelContainer });
|
formBuilder.addFormItem({ title: '', component: this._labelContainer });
|
||||||
|
} else {
|
||||||
|
formBuilder.removeFormItem({ title: '', component: this._labelContainer });
|
||||||
}
|
}
|
||||||
if (this._tableDataCountComponent) {
|
if (this._tableDataCountComponent) {
|
||||||
this._tableDataCountComponent.value = constants.getDataCount(this._dataTable.modelCounts);
|
this._tableDataCountComponent.value = constants.getDataCount(this._dataTable.modelCounts);
|
||||||
@@ -200,7 +202,6 @@ export class CurrentModelsComponent extends ModelViewBase implements IPageView {
|
|||||||
|
|
||||||
private refreshComponents(): void {
|
private refreshComponents(): void {
|
||||||
if (this._formBuilder) {
|
if (this._formBuilder) {
|
||||||
this.removeComponents(this._formBuilder);
|
|
||||||
this.addComponents(this._formBuilder);
|
this.addComponents(this._formBuilder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user