From 192b728572202449f93be5c46300817e4ccac74d Mon Sep 17 00:00:00 2001 From: Pawel Kowalski Date: Thu, 23 Aug 2018 22:46:46 +0200 Subject: [PATCH] Get rid of unnecessary console.log stmts, add get for room appearance computed property --- client/src/graphql/client.js | 4 ++-- client/src/pages/room.vue | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/src/graphql/client.js b/client/src/graphql/client.js index aa607e1a..f9178bb1 100644 --- a/client/src/graphql/client.js +++ b/client/src/graphql/client.js @@ -14,10 +14,10 @@ const httpLink = new HttpLink({ }) const consoleLink = new ApolloLink((operation, forward) => { - console.log(`starting request for ${operation.operationName}`); + // console.log(`starting request for ${operation.operationName}`); return forward(operation).map((data) => { - console.log(`ending request for ${operation.operationName}`); + // console.log(`ending request for ${operation.operationName}`); return data }) diff --git a/client/src/pages/room.vue b/client/src/pages/room.vue index f146d677..c60ef0fe 100644 --- a/client/src/pages/room.vue +++ b/client/src/pages/room.vue @@ -58,6 +58,9 @@ roomAppearance: { set(value) { this.$store.dispatch('setSpecialContainerClass', value); + }, + get() { + return this.room ? this.room.appearance : '' } } },