IO-746 Agenda schedule view
This commit is contained in:
@@ -9,6 +9,7 @@ export default function ScheduleDayViewComponent({ data, day }) {
|
||||
<ScheduleCalendarWrapperComponent
|
||||
events={data}
|
||||
defaultView="day"
|
||||
view={"day"}
|
||||
views={["day"]}
|
||||
date={day}
|
||||
/>
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function ScheduleDayViewContainer({ day }) {
|
||||
fetchPolicy: "network-only",
|
||||
});
|
||||
const { t } = useTranslation();
|
||||
if (!!!day) return <div>{t("appointments.labels.nodateselected")}</div>;
|
||||
if (!day) return <div>{t("appointments.labels.nodateselected")}</div>;
|
||||
if (loading) return <LoadingSkeleton paragraph={{ rows: 4 }} />;
|
||||
if (error) return <div>{error.message}</div>;
|
||||
let normalizedData;
|
||||
|
||||
Reference in New Issue
Block a user