Commit e0761721 authored by Georg Krause's avatar Georg Krause Committed by Georg Krause
Browse files

Fix bug that prevents users from creating a new oauth application (#1706)

parent 706d5541
Pipeline #19702 passed with stages
in 93 minutes and 29 seconds
Fix bug that prevents users from creating a new oauth application (#1706)
......@@ -126,12 +126,12 @@ import TranslationsMixin from '@/components/mixins/Translations'
export default {
mixins: [TranslationsMixin],
props: {
app: { type: Object, required: false, default: () => { return {} } },
app: { type: Object, required: false, default: () => { return null } },
defaults: { type: Object, required: false, default: () => { return {} } }
},
data () {
const app = this.app || {}
const defaults = this.defaults || {}
const app = this.app || {}
return {
isLoading: false,
errors: [],
......
......@@ -32,9 +32,9 @@ export default {
ApplicationForm
},
props: {
name: { type: String, required: true },
redirectUris: { type: String, required: true },
scopes: { type: Array, required: true }
name: { type: String, default: '' },
redirectUris: { type: String, default: '' },
scopes: { type: String, default: '' }
},
data () {
return {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment