Fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
79fa092926
commit
2e85a4a3d3
@ -272,7 +272,6 @@ export class EventModel implements IEvent {
|
|||||||
this.title = hash.title;
|
this.title = hash.title;
|
||||||
this.slug = hash.slug;
|
this.slug = hash.slug;
|
||||||
this.description = hash.description;
|
this.description = hash.description;
|
||||||
this.category = hash.category;
|
|
||||||
|
|
||||||
this.beginsOn = new Date(hash.beginsOn);
|
this.beginsOn = new Date(hash.beginsOn);
|
||||||
if (hash.endsOn) this.endsOn = new Date(hash.endsOn);
|
if (hash.endsOn) this.endsOn = new Date(hash.endsOn);
|
||||||
@ -328,7 +327,6 @@ interface IEventEditJSON {
|
|||||||
id?: string;
|
id?: string;
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
category: Category | null;
|
|
||||||
beginsOn: string;
|
beginsOn: string;
|
||||||
endsOn: string | null;
|
endsOn: string | null;
|
||||||
status: EventStatus;
|
status: EventStatus;
|
||||||
|
Loading…
Reference in New Issue
Block a user