mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-3957 fix: verify change availability flags (#1988)
This commit is contained in:
+3
-1
@@ -236,7 +236,9 @@ export class ConnectionSchemaManagerBootstrap extends Bootstrap {
|
||||
|
||||
this.menuService.addCreator({
|
||||
menus: [MENU_CONNECTION_DATA_CONTAINER_SELECTOR],
|
||||
isApplicable: () => this.connectionSchemaManagerService.isObjectCatalogChangeable && !!this.connectionSchemaManagerService.objectContainerList,
|
||||
isApplicable: () =>
|
||||
(this.connectionSchemaManagerService.isObjectCatalogChangeable || this.connectionSchemaManagerService.isObjectSchemaChangeable) &&
|
||||
!!this.connectionSchemaManagerService.objectContainerList,
|
||||
getItems: (context, items) => {
|
||||
items = [...items];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user