Skip to content

Commit

Permalink
fix(dashboard): fix dasbhoard entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Apr 30, 2024
1 parent 8434e60 commit c2303a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dashboard-page/index.tsx
Expand Up @@ -74,7 +74,7 @@ export const onlyValidFeaturesForDashboard = (
if (genericRendererIgnoredNames.includes(name)) {
return false;
}
if (access & FeatureAccessMode.ACCESS_STATE) {
if (access === FeatureAccessMode.ACCESS_STATE || access === (FeatureAccessMode.ACCESS_STATE + FeatureAccessMode.ACCESS_READ)) {
return filteredOutFeature;
}
if (Array.isArray(features) && features.length > 0) {
Expand Down

0 comments on commit c2303a3

Please sign in to comment.