mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat: Allow hiding credential params on cloud (#6687)
This commit is contained in:
@@ -554,6 +554,10 @@ export default defineComponent({
|
||||
return false;
|
||||
}
|
||||
|
||||
if (parameter.displayOptions?.hideOnCloud && this.settingsStore.isCloudDeployment) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (parameter.displayOptions === undefined) {
|
||||
// If it is not defined no need to do a proper check
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user