mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix schema compare results at bottom (#17299)
This commit is contained in:
@@ -341,13 +341,6 @@ export class SchemaCompareMainWindow {
|
|||||||
width: '98%'
|
width: '98%'
|
||||||
});
|
});
|
||||||
|
|
||||||
this.splitView.addItem(this.differencesTable);
|
|
||||||
this.splitView.addItem(this.diffEditor);
|
|
||||||
this.splitView.setLayout({
|
|
||||||
orientation: 'vertical',
|
|
||||||
splitViewHeight: 800
|
|
||||||
});
|
|
||||||
|
|
||||||
this.flexModel.removeItem(this.loader);
|
this.flexModel.removeItem(this.loader);
|
||||||
this.flexModel.removeItem(this.waitText);
|
this.flexModel.removeItem(this.waitText);
|
||||||
this.resetButtons(ResetButtonState.afterCompareComplete);
|
this.resetButtons(ResetButtonState.afterCompareComplete);
|
||||||
@@ -355,6 +348,13 @@ export class SchemaCompareMainWindow {
|
|||||||
if (this.comparisonResult.differences.length > 0) {
|
if (this.comparisonResult.differences.length > 0) {
|
||||||
this.flexModel.addItem(this.splitView);
|
this.flexModel.addItem(this.splitView);
|
||||||
|
|
||||||
|
this.splitView.addItem(this.differencesTable);
|
||||||
|
this.splitView.addItem(this.diffEditor);
|
||||||
|
this.splitView.setLayout({
|
||||||
|
orientation: 'vertical',
|
||||||
|
splitViewHeight: 800
|
||||||
|
});
|
||||||
|
|
||||||
// create a map of the differences to row numbers
|
// create a map of the differences to row numbers
|
||||||
for (let i = 0; i < data.length; ++i) {
|
for (let i = 0; i < data.length; ++i) {
|
||||||
this.diffEntryRowMap.set(this.createDiffEntryKey(this.comparisonResult.differences[i]), i);
|
this.diffEntryRowMap.set(this.createDiffEntryKey(this.comparisonResult.differences[i]), i);
|
||||||
|
|||||||
Reference in New Issue
Block a user