diff --git a/src/components/Dashboard/common/ObjectCard.jsx b/src/components/Dashboard/common/ObjectCard.jsx index 0682025..ef47e75 100644 --- a/src/components/Dashboard/common/ObjectCard.jsx +++ b/src/components/Dashboard/common/ObjectCard.jsx @@ -22,7 +22,8 @@ const ObjectCard = ({ if ( (Object.keys(visibleColumns).length > 0 && visibleColumns[prop.name] === false) || - prop.name == 'name' + prop.name == 'name' || + (prop.name == 'state' && visibleColumns?.name == true) ) { return } @@ -64,8 +65,7 @@ const ObjectCard = ({ style={{ fontSize: 20, fontWeight: '600', - lineHeight: 1, - overflow: 'visible' + lineHeight: 1.2 }} /> {visibleColumns?.state == true && (