- {objectData?.name ? (
-
- {objectData.name}
-
- ) : null}
+ {objectData?.color ? (
+
+ ) : null}
+
+ {renderNameDisplay()}
+
{objectData?._id && !objectData?.name ? (
) : null}
@@ -95,7 +217,9 @@ const ObjectDisplay = ({ object, objectType }) => {
ObjectDisplay.propTypes = {
object: PropTypes.object,
objectType: PropTypes.string,
- style: PropTypes.object
+ style: PropTypes.object,
+ showHyperlink: PropTypes.bool,
+ showSpotlight: PropTypes.bool
}
export default ObjectDisplay