Skip to content

Commit

Permalink
fix(dashboard): toggle from hide to show for unmodeled datastreams
Browse files Browse the repository at this point in the history
  • Loading branch information
ssjagad authored and diehbria committed Nov 21, 2023
1 parent 1581b9f commit cea7c30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const StyledPropertiesAlarmsSection: FC<StyledPropertiesAlarmsSectionProp
styledAssetQuery?.properties?.map((property) => {
if (property.propertyAlias === propertyAlias) {
const visible = property.visible !== undefined ? !property.visible : false;
return visible ? property : { ...property, visible: false };
return { ...property, visible };
} else {
return property;
}
Expand Down

0 comments on commit cea7c30

Please sign in to comment.