@uxland/primary-shell 5.3.5 → 5.3.6

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.3.5",
3
+ "version": "5.3.6",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -94,7 +94,6 @@
94
94
  }
95
95
  }
96
96
  .create-button-opened {
97
- padding: 1px;
98
97
  cursor: pointer;
99
98
  background-color: #f0f0f0;
100
99
  color: var(--color-primary-700);
@@ -20,10 +20,5 @@ export const hasItemDivider = (
20
20
  return true;
21
21
  }
22
22
 
23
- const currentDate = new Date(item.date).getTime();
24
- const nextDate = new Date(items[currentIndex + 1].date).getTime();
25
-
26
- const diffMinutes = Math.abs(nextDate - currentDate) / (1000 * 60);
27
-
28
- return diffMinutes > 15;
23
+ return !item.diagnostics.length;
29
24
  };
@@ -98,6 +98,7 @@ const renderProfessionalValues = (props: ActivityHistoryTimeline, item: IActivit
98
98
  showRole ? props.highlighted(item.professional.role.description) : null,
99
99
  props.highlighted(item.center.description),
100
100
  props.highlighted(item.professional.speciality.description),
101
+ props.highlighted(item.service.description),
101
102
  ].filter(Boolean);
102
103
 
103
104
  const professionalValues = professionalItems.map(