Update Schema Compare dialog to use folder icon (#16208)

* Update Schema Compare dialog to use folder icon

* Address comment
This commit is contained in:
Sakshi Sharma
2021-07-16 12:21:59 -07:00
committed by GitHub
parent f53a06a403
commit 3847271e67
2 changed files with 7 additions and 4 deletions

View File

@@ -287,17 +287,17 @@ export class SchemaCompareDialog {
let currentTextbox = isTarget ? this.targetTextBox : this.sourceTextBox;
if (isTarget) {
this.targetFileButton = this.view.modelBuilder.button().withProps({
label: '•••',
title: loc.selectTargetFile,
ariaLabel: loc.selectTargetFile,
secondary: true
secondary: true,
iconPath: path.join(this.extensionContext.extensionPath, 'media', 'folder.svg')
}).component();
} else {
this.sourceFileButton = this.view.modelBuilder.button().withProps({
label: '•••',
title: loc.selectSourceFile,
ariaLabel: loc.selectSourceFile,
secondary: true
secondary: true,
iconPath: path.join(this.extensionContext.extensionPath, 'media', 'folder.svg')
}).component();
}