Skip to content

Commit

Permalink
fix: colors of methods are now applied again
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-bonnel committed Sep 20, 2017
1 parent 045b935 commit 3be4140
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions src/OpenApi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,23 @@ import RequestForm from './RequestForm.vue'
import ResponsesTable from './ResponsesTable.vue'
import ParametersTable from './ParametersTable.vue'
import SchemaView from './SchemaView.vue'
import VueMaterial from 'vue-material'
Vue.use(VueMaterial)
Vue.material.registerTheme({
get: {
primary: 'blue'
},
post: {
primary: 'green'
},
put: {
primary: 'orange'
},
delete: {
primary: 'red'
}
})
export default {
name: 'open-api',
Expand All @@ -171,20 +188,6 @@ export default {
}),
mounted: function() {
this.$refs.menu.$children[0].toggleExpandList()
this.$material.registerTheme({
get: {
primary: 'blue'
},
post: {
primary: 'green'
},
put: {
primary: 'orange'
},
delete: {
primary: 'red'
}
})
},
computed: {
tags: function() {
Expand Down

0 comments on commit 3be4140

Please sign in to comment.