IO-746 Agenda schedule view

This commit is contained in:
Patrick Fic
2021-03-08 15:13:26 -08:00
parent 19aa3e3287
commit 0ed1c400c7
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ export default function ScheduleDayViewComponent({ data, day }) {
<ScheduleCalendarWrapperComponent
events={data}
defaultView="day"
view={"day"}
views={["day"]}
date={day}
/>

View File

@@ -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;