Fix posts and rework graphql errors

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-01 15:07:15 +02:00
parent 92367a5f33
commit aced4d039b
69 changed files with 1795 additions and 999 deletions

View File

@@ -83,16 +83,16 @@ export default class DateTimePicker extends Vue {
localeMonthNamesProxy = localeMonthNames();
@Watch("value")
updateValue() {
updateValue(): void {
this.dateWithTime = this.value;
}
@Watch("dateWithTime")
updateDateWithTimeWatcher() {
updateDateWithTimeWatcher(): void {
this.updateDateTime();
}
updateDateTime() {
updateDateTime(): void {
/**
* Returns the updated date
*
@@ -115,6 +115,7 @@ export default class DateTimePicker extends Vue {
return null;
}
// eslint-disable-next-line class-methods-use-this
private datesAreOnSameDay(first: Date, second: Date): boolean {
return (
first.getFullYear() === second.getFullYear() &&