("")
+
const daysForBookingGrid = useBookingGridGenerator(activeTabHeader.value)
@@ -84,7 +105,7 @@ export const BookingGridPage: FC = () => {
@@ -163,8 +184,8 @@ export const BookingGridPage: FC = () => {
index <= bookingInfo.endIndex
const color =
mapBookingStatusToColor[
- bookingInfo.booking.status ??
- BookingDtoStatus.STATUS_INITIAL
+ bookingInfo.booking.status ??
+ BookingDtoStatus.STATUS_INITIAL
]
const clientName = getFullName(
bookingInfo.booking?.pets?.[0]?.ownerShortDto
@@ -201,6 +222,7 @@ export const BookingGridPage: FC = () => {
+ {queue && }
)
}
diff --git a/src/modules/Employee/components/EmployeePageBody.tsx b/src/modules/Employee/components/EmployeePageBody.tsx
index 26747f6..a208dfc 100644
--- a/src/modules/Employee/components/EmployeePageBody.tsx
+++ b/src/modules/Employee/components/EmployeePageBody.tsx
@@ -74,7 +74,7 @@ export const EmployeePageBody: React.FC = props => {
) : (
- (employees || []).map(employee => (
+ (employees || [])?.map(employee => (