Add contents to the room query
This commit is contained in:
parent
b28346d297
commit
5bdb427a17
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@
|
|||
if (!loading) {
|
||||
this.room = this.$getRidOfEdges(data).room
|
||||
this.roomAppearance = this.room.appearance
|
||||
this.roomEntries = this.room.roomEntries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue