mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user