mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix schema compare results at bottom (#17299)
This commit is contained in:
@@ -341,13 +341,6 @@ export class SchemaCompareMainWindow {
|
||||
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.waitText);
|
||||
this.resetButtons(ResetButtonState.afterCompareComplete);
|
||||
@@ -355,6 +348,13 @@ export class SchemaCompareMainWindow {
|
||||
if (this.comparisonResult.differences.length > 0) {
|
||||
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
|
||||
for (let i = 0; i < data.length; ++i) {
|
||||
this.diffEntryRowMap.set(this.createDiffEntryKey(this.comparisonResult.differences[i]), i);
|
||||
|
||||
Reference in New Issue
Block a user