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

@@ -141,7 +141,7 @@ export const CREATE_EVENT = gql`
$title: String!,
$description: String!,
$organizerActorId: ID!,
$category: String!,
$category: String,
$beginsOn: DateTime!,
$picture: PictureInput,
$tags: [String],
@@ -174,7 +174,7 @@ export const EDIT_EVENT = gql`
$title: String!,
$description: String!,
$organizerActorId: Int!,
$category: String!
$category: String
) {
EditEvent(title: $title, description: $description, organizerActorId: $organizerActorId, category: $category) {
uuid