mirror of
https://github.com/strapi/strapi.git
synced 2025-09-06 23:28:02 +00:00
Fix error registring admin EE routes when feature is disabled
This commit is contained in:
parent
cef9eba80f
commit
b4a32bc84e
@ -9,6 +9,8 @@ const getFeaturesRoutes = () => {
|
|||||||
if (features.isEnabled(featureName)) {
|
if (features.isEnabled(featureName)) {
|
||||||
return featureRoutes;
|
return featureRoutes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return [];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user