mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -05:00
fix the issue with explorer widget context menu (#11373)
This commit is contained in:
@@ -117,7 +117,7 @@ export class ExplorerTable extends Disposable {
|
||||
};
|
||||
} else {
|
||||
context = {
|
||||
profile: dataContext,
|
||||
profile: dataContext.toIConnectionProfile(),
|
||||
uri: this.bootStrapService.getUnderlyingUri()
|
||||
};
|
||||
}
|
||||
|
||||
@@ -296,6 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerWidgetContext, {
|
||||
id: commands.ExplorerScriptCreateAction.ID,
|
||||
title: commands.ExplorerScriptCreateAction.LABEL
|
||||
},
|
||||
when: ItemContextKey.ItemType.notEqualsTo('database'),
|
||||
order: 2
|
||||
});
|
||||
//#endregion
|
||||
|
||||
Reference in New Issue
Block a user