mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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 {
|
} else {
|
||||||
context = {
|
context = {
|
||||||
profile: dataContext,
|
profile: dataContext.toIConnectionProfile(),
|
||||||
uri: this.bootStrapService.getUnderlyingUri()
|
uri: this.bootStrapService.getUnderlyingUri()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerWidgetContext, {
|
|||||||
id: commands.ExplorerScriptCreateAction.ID,
|
id: commands.ExplorerScriptCreateAction.ID,
|
||||||
title: commands.ExplorerScriptCreateAction.LABEL
|
title: commands.ExplorerScriptCreateAction.LABEL
|
||||||
},
|
},
|
||||||
|
when: ItemContextKey.ItemType.notEqualsTo('database'),
|
||||||
order: 2
|
order: 2
|
||||||
});
|
});
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user