@uxland/primary-shell 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -118,19 +118,19 @@ const renderProfessionalValues = (props: ActivityHistoryTimeline, item: IActivit
118
118
 
119
119
  values.push(props.highlighted(item.professional.name));
120
120
 
121
- if (showRole && item.professional.role) {
121
+ if (showRole && item.professional?.role?.description) {
122
122
  values.push(props.highlighted(item.professional.role.description));
123
123
  }
124
124
 
125
- if (item.up) {
125
+ if (item.up?.description) {
126
126
  values.push(props.highlighted(item.up.description));
127
127
  }
128
128
 
129
- if (item.professional.speciality) {
129
+ if (item.professional?.speciality?.description) {
130
130
  values.push(props.highlighted(item.professional.speciality.description));
131
131
  }
132
132
 
133
- if (item.service) {
133
+ if (item.service?.description) {
134
134
  values.push(props.highlighted(item.service.description));
135
135
  }
136
136