mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Remove cloud deployment check from settings route middlewareOptions (no-changelog) (#9095)
This commit is contained in:
@@ -478,10 +478,7 @@ export const routes = [
|
|||||||
middlewareOptions: {
|
middlewareOptions: {
|
||||||
custom: () => {
|
custom: () => {
|
||||||
const settingsStore = useSettingsStore();
|
const settingsStore = useSettingsStore();
|
||||||
return !(
|
return !settingsStore.settings.hideUsagePage;
|
||||||
settingsStore.settings.hideUsagePage ||
|
|
||||||
settingsStore.settings.deployment?.type === 'cloud'
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
telemetry: {
|
telemetry: {
|
||||||
|
|||||||
Reference in New Issue
Block a user