fix: make integrations available for the ee cloud user (#4963)

This commit is contained in:
Vikrant Gupta 2024-05-06 19:17:50 +05:30 committed by GitHub
parent 3957d91a9b
commit e2992b42c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,7 +278,7 @@ function SideNav({
}, [isCloudUserVal, isEnterprise, isFetching]);
useEffect(() => {
if (!isCloudUserVal) {
if (!(isCloudUserVal || isEECloudUser())) {
let updatedMenuItems = [...menuItems];
updatedMenuItems = updatedMenuItems.filter(
(item) => item.key !== ROUTES.INTEGRATIONS,