Make category optionnal and hide it from the form

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-08-07 16:51:48 +02:00
parent bfb3eebccf
commit 8f31beb0fb
5 changed files with 7 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ export interface IEvent {
title: string;
slug: string;
description: string;
category: Category;
category: Category|null;
beginsOn: Date;
endsOn: Date;