diff --git a/client/src/graphql/gql/queries/snapshots/detail.gql b/client/src/graphql/gql/queries/snapshots/detail.gql index e69de29b..71838e0f 100644 --- a/client/src/graphql/gql/queries/snapshots/detail.gql +++ b/client/src/graphql/gql/queries/snapshots/detail.gql @@ -0,0 +1,12 @@ +query SnapshotDetail($id: ID!) { + snapshot(id: $id) { + id + chapters { + id + description + title + titleHidden + descriptionHidden + } + } +} diff --git a/client/src/pages/snapshot/snapshot.vue b/client/src/pages/snapshot/snapshot.vue index 7fbb2fc2..4b9f6fa6 100644 --- a/client/src/pages/snapshot/snapshot.vue +++ b/client/src/pages/snapshot/snapshot.vue @@ -2,11 +2,12 @@
Hello {{ id }} +