Fix discussions pagination

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-11 15:08:43 +02:00
parent fa8a958597
commit 160e5fbdae
4 changed files with 38 additions and 19 deletions

View File

@@ -15,6 +15,8 @@ import {
import { MemberRole } from "@/types/enums";
import { Component, Vue } from "vue-property-decorator";
const now = new Date();
@Component({
apollo: {
group: {
@@ -24,7 +26,7 @@ import { Component, Vue } from "vue-property-decorator";
return {
name: this.$route.params.preferredUsername,
beforeDateTime: null,
afterDateTime: new Date(),
afterDateTime: now,
};
},
skip() {