mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: no requests before project loaded
This commit is contained in:
parent
f84be2fd7c
commit
5e2876b3a1
@ -5,5 +5,5 @@ export const useShowDependentFeatures = (project: string) => {
|
||||
const { dependenciesExist } = useCheckDependenciesExist(project);
|
||||
const { isOss } = useUiConfig();
|
||||
|
||||
return Boolean(isOss() ? dependenciesExist : true);
|
||||
return Boolean(project) && Boolean(isOss() ? dependenciesExist : true);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user