Fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7f96f53fe4
commit
26c0d02bf6
@ -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