Skip to content

Commit

Permalink
Comment out group vacation viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
jonandernovella committed Sep 22, 2022
1 parent 46d35b9 commit c61db45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/pages/AbsencePlanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { eachDayOfInterval, Interval, format as formatDate } from "date-fns";
import LoadingOverlay from "react-loading-overlay-ts";
import ClimbingBoxLoader from "react-spinners/ClimbingBoxLoader";
import { HeaderUser } from "../components/HeaderUser";
import { Chart } from "react-google-charts";
//import { Chart } from "react-google-charts";
import trash from "../icons/trash.svg";
import pencil from "../icons/pencil.svg";
import { useConfirm } from "../components/ConfirmDialogProvider";
Expand Down Expand Up @@ -524,7 +524,7 @@ export const AbsencePlanner = () => {
toggleLoadingPage(false);
};
fetchTimeEntriesForUser();
fetchTimeEntriesFromGroups();
//fetchTimeEntriesFromGroups();
}, [selectedGroup, reloadPage]);

const getAbsenceTimeEntries = async (
Expand Down Expand Up @@ -876,6 +876,7 @@ export const AbsencePlanner = () => {
</div>
</div>
</div>
{/*
<h4>Reported absence</h4>
<div className="group-select-wrapper">
<span> Filter by group: </span>
Expand Down Expand Up @@ -914,6 +915,7 @@ export const AbsencePlanner = () => {
<p>No absence entries were found</p>
)}
</div>
*/}
{toastList.length > 0 && (
<Toast onCloseToast={handleCloseToast} toastList={toastList} />
)}
Expand Down

0 comments on commit c61db45

Please sign in to comment.