Get rid of unnecessary console.log stmts, add get for room appearance computed property
This commit is contained in:
parent
e7fafb40a8
commit
192b728572
|
|
@ -14,10 +14,10 @@ const httpLink = new HttpLink({
|
||||||
})
|
})
|
||||||
|
|
||||||
const consoleLink = new ApolloLink((operation, forward) => {
|
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) => {
|
return forward(operation).map((data) => {
|
||||||
console.log(`ending request for ${operation.operationName}`);
|
// console.log(`ending request for ${operation.operationName}`);
|
||||||
|
|
||||||
return data
|
return data
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,9 @@
|
||||||
roomAppearance: {
|
roomAppearance: {
|
||||||
set(value) {
|
set(value) {
|
||||||
this.$store.dispatch('setSpecialContainerClass', value);
|
this.$store.dispatch('setSpecialContainerClass', value);
|
||||||
|
},
|
||||||
|
get() {
|
||||||
|
return this.room ? this.room.appearance : ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue