mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:26:57 +00:00
fix: hoist isOssOnly check above base mode early return in AddConnectionDropdown
This commit is contained in:
@@ -69,12 +69,6 @@ const isIntegrationAllowed = (i: (typeof allIntegrations)[number], category: (ty
|
||||
if (i.hidden) return false
|
||||
if (!i.isAvailable) return false
|
||||
if (i.sub_type === SyncDataType.NOCODB) return false
|
||||
|
||||
if (props.mode === 'base') {
|
||||
return isEeUI ? !i.isOssOnly : true
|
||||
}
|
||||
|
||||
// Workspace level: same as IntegrationsTab's isIntegrationVisible
|
||||
if (isEeUI && i.isOssOnly) return false
|
||||
|
||||
if (!easterEggToggle.value) {
|
||||
|
||||
Reference in New Issue
Block a user