Get rid of unnecessary console.log stmts, add get for room appearance computed property

This commit is contained in:
Pawel Kowalski 2018-08-23 22:46:46 +02:00
parent e7fafb40a8
commit 192b728572
2 changed files with 5 additions and 2 deletions

View File

@ -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
})

View File

@ -58,6 +58,9 @@
roomAppearance: {
set(value) {
this.$store.dispatch('setSpecialContainerClass', value);
},
get() {
return this.room ? this.room.appearance : ''
}
}
},