mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-18 12:32:26 +01:00
fix:#30 format, lint and fixed types
This commit is contained in:
@@ -142,14 +142,13 @@ const filters = ref({
|
||||
|
||||
function occupationRoute(room: string): void {
|
||||
// date is in format like YYYYMMDD
|
||||
router.push({
|
||||
name: "room-schedule",
|
||||
query: {
|
||||
room: room,
|
||||
date: date.value.toISOString().split("T")[0].replace(/-/g, ""),
|
||||
}
|
||||
}
|
||||
);
|
||||
router.push({
|
||||
name: "room-schedule",
|
||||
query: {
|
||||
room: room,
|
||||
date: date.value.toISOString().split("T")[0].replace(/-/g, ""),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
const date: Ref<Date> = ref(new Date(Date.now()));
|
||||
|
||||
Reference in New Issue
Block a user