feat(gbase8s): support dropping a database from the tree
This commit is contained in:
3 files changed
+62
-8
No files matched your search
@@ -3522,7 +3522,7 @@ const canSetCreateDatabaseLocale = computed(() => {
|
||||
|
||||
const canDropDatabase = computed(() => {
|
||||
const config = activeNode.value.connectionId ? connectionStore.getConfig(activeNode.value.connectionId) : undefined;
|
||||
return activeNode.value.type === "database" && !isSqlServerLinkedNode(activeNode.value) && supportsDatabaseCreation(config?.db_type);
|
||||
return activeNode.value.type === "database" && !isSqlServerLinkedNode(activeNode.value) && (supportsDatabaseCreation(config?.db_type) || supportsCreateDatabaseLocale(config?.db_type, config?.driver_profile));
|
||||
});
|
||||
|
||||
const databasePropertyGroups = computed(() => {
|
||||
|
||||
Reference in new issue
Block a user