Skip to content
Snippets Groups Projects
Commit 5894381c authored by permcu's avatar permcu
Browse files

Remove unused

parent bce8dcf4
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,6 @@ export default {
return {
gqlQuery: documentationsForCoursebook,
lastQuery: null,
visible: [],
dateStart: "",
dateEnd: "",
// Placeholder values while query isn't completed yet
......@@ -215,12 +214,7 @@ export default {
this.$router.replace({ hash: DateTime.now().toISODate() })
}
// if (date) {
// this.$router.replace({ hash: date })
// }
const date = DateTime.fromISO(this.$route.hash.substring(1));
// Reset visible
this.visible = [];
this.dateStart = date.minus({ days: 3 }).toISODate();
this.dateEnd = date.plus({ days: 4 }).toISODate();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment