fix: graphiql UI fix

This commit is contained in:
NGPixel
2018-03-20 00:37:55 -04:00
parent 3f0adc5daf
commit cb253f7bfa
6 changed files with 35 additions and 305 deletions

View File

@@ -58,8 +58,6 @@
<script>
import _ from 'lodash'
/* global CONSTANTS */
export default {
data() {
return {
@@ -73,12 +71,12 @@ export default {
return _.filter(this.services, 'isEnabled')
}
},
apollo: {
services: {
query: CONSTANTS.GRAPH.AUTHENTICATION.QUERY_PROVIDERS,
update: (data) => data.authentication.providers
}
},
// apollo: {
// services: {
// query: CONSTANTS.GRAPH.AUTHENTICATION.QUERY_PROVIDERS,
// update: (data) => data.authentication.providers
// }
// },
methods: {
async refresh() {
await this.$apollo.queries.services.refetch()