Add contents to the room query

This commit is contained in:
Pawel Kowalski 2018-09-04 15:01:06 +02:00
parent b28346d297
commit 5bdb427a17
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
query RoomEntriesQuery($slug: String!) {
room(slug:$slug) {
room(slug: $slug) {
id
title
slug
@ -17,6 +17,7 @@ query RoomEntriesQuery($slug: String!) {
slug
title
description
contents
author {
id
firstName

View File

@ -141,6 +141,7 @@
if (!loading) {
this.room = this.$getRidOfEdges(data).room
this.roomAppearance = this.room.appearance
this.roomEntries = this.room.roomEntries
}
}
}