diff --git a/frontend/src/App.vue b/frontend/src/App.vue index dc83671..25c2e21 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -12,6 +12,9 @@ const disabledPages = [ "privacy-policy", "edit", "edit-calendar", + "rooms", + "free-rooms", + "room-schedule" ]; const store = moduleStore(); diff --git a/frontend/src/api/createFeed.ts b/frontend/src/api/createFeed.ts index 00a3a04..9c4c4aa 100644 --- a/frontend/src/api/createFeed.ts +++ b/frontend/src/api/createFeed.ts @@ -53,7 +53,6 @@ export async function saveIndividualFeed( return feedResponse; }) .then((response: FeedResponse) => { - console.debug("response", response); token = response.id; }); return token; diff --git a/frontend/src/api/requestFreeRooms.ts b/frontend/src/api/requestFreeRooms.ts index 76f4037..4baad59 100644 --- a/frontend/src/api/requestFreeRooms.ts +++ b/frontend/src/api/requestFreeRooms.ts @@ -4,7 +4,6 @@ export async function requestFreeRooms( from: string, to: string, ): Promise { - console.debug("requestFreeRooms: from=" + from + ", to=" + to); const rooms: string[] = []; await fetch("/api/rooms/free?from=" + from + "&to=" + to) .then((response) => { diff --git a/frontend/src/components/CalendarLink.vue b/frontend/src/components/CalendarLink.vue index a64a2bf..9678937 100644 --- a/frontend/src/components/CalendarLink.vue +++ b/frontend/src/components/CalendarLink.vue @@ -34,8 +34,7 @@ function rerouteIfTokenIsEmpty() { function copyToClipboard() { // Copy the text inside the text field - navigator.clipboard.writeText(getLink()).then(show, (err) => { - console.error("Could not copy text: ", err); + navigator.clipboard.writeText(getLink()).then(show, () => { toast.add({ severity: "error", summary: t("calendarLink.copyToastError"), diff --git a/frontend/src/components/RoomOccupation.vue b/frontend/src/components/RoomOccupation.vue index 21f61b4..1f13108 100644 --- a/frontend/src/components/RoomOccupation.vue +++ b/frontend/src/components/RoomOccupation.vue @@ -60,7 +60,7 @@ async function getOccupation() { calendar?.refetchEvents(); }) .catch((error) => { - console.log(error); + console.error(error); }); } diff --git a/frontend/src/view/editCalendar/EditModules.vue b/frontend/src/view/editCalendar/EditModules.vue index b55efa6..f883b01 100644 --- a/frontend/src/view/editCalendar/EditModules.vue +++ b/frontend/src/view/editCalendar/EditModules.vue @@ -45,7 +45,6 @@ const fetchedModules = async () => { }; function deleteModule(module: Module) { - console.debug(module); moduleStore().removeModule(module); }