Skip to content

Commit

Permalink
fix(customvariables): default permission to be highest permission (#3615
Browse files Browse the repository at this point in the history
)

Fixes #3614
  • Loading branch information
sogehige committed Apr 30, 2020
1 parent 238b509 commit b844a01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -391,7 +391,7 @@ export default class customVariablesEdit extends Vue {
if (!this.$route.params.id) {
if (!this.permission) {
this.permission = orderBy(this.permissions, 'order', 'asc').pop().id
this.permission = orderBy(this.permissions, 'order', 'asc')[0].id
}
}
resolve()
Expand Down

0 comments on commit b844a01

Please sign in to comment.