Update dacpac wizard to use folder icon (#14290)

* change dacpac extension to use folder icon instead of ... on buttons

* make folder icon more centered

* fix tests
This commit is contained in:
Kim Santiago
2021-02-16 12:57:13 -08:00
committed by GitHub
parent 21fae18a13
commit c84e092473
5 changed files with 11 additions and 9 deletions

View File

@@ -118,15 +118,13 @@ export function createViewContext(): ViewTestContext {
let buttonBuilder: azdata.ComponentBuilder<azdata.ButtonComponent, azdata.ButtonProperties> = {
component: () => button,
withProperties: (properties: any) => {
if ((properties as any).label === '•••') {
button.label = '•••';
if ((properties as any).title === loc.selectFile) {
button.onDidClick = fileButtonOnClick.event;
}
return buttonBuilder;
},
withProps: (properties) => {
if ((properties as any).label === '•••') {
button.label = '•••';
if ((properties as any).title === loc.selectFile) {
button.onDidClick = fileButtonOnClick.event;
}
return buttonBuilder;