mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
feat(core): Allow for hiding usage page via environment (#4899)
This commit is contained in:
@@ -500,6 +500,7 @@ export interface IN8nUISettings {
|
||||
sharing: boolean;
|
||||
workflowSharing: boolean;
|
||||
};
|
||||
hideUsagePage: boolean;
|
||||
}
|
||||
|
||||
export interface IPersonalizationSurveyAnswers {
|
||||
|
||||
@@ -357,6 +357,7 @@ class App {
|
||||
sharing: false,
|
||||
workflowSharing: false,
|
||||
},
|
||||
hideUsagePage: config.getEnv('hideUsagePage'),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1011,4 +1011,11 @@ export const schema = {
|
||||
doc: 'Tenant id used by the license manager',
|
||||
},
|
||||
},
|
||||
|
||||
hideUsagePage: {
|
||||
format: Boolean,
|
||||
default: false,
|
||||
env: 'N8N_HIDE_USAGE_PAGE',
|
||||
doc: 'Hide or show the usage page',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user