Fix bug that prevents users from creating a new oauth application (#1706)
This commit is contained in:
parent
706d55413b
commit
e076172106
|
@ -0,0 +1 @@
|
||||||
|
Fix bug that prevents users from creating a new oauth application (#1706)
|
|
@ -126,12 +126,12 @@ import TranslationsMixin from '@/components/mixins/Translations'
|
||||||
export default {
|
export default {
|
||||||
mixins: [TranslationsMixin],
|
mixins: [TranslationsMixin],
|
||||||
props: {
|
props: {
|
||||||
app: { type: Object, required: false, default: () => { return {} } },
|
app: { type: Object, required: false, default: () => { return null } },
|
||||||
defaults: { type: Object, required: false, default: () => { return {} } }
|
defaults: { type: Object, required: false, default: () => { return {} } }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const app = this.app || {}
|
|
||||||
const defaults = this.defaults || {}
|
const defaults = this.defaults || {}
|
||||||
|
const app = this.app || {}
|
||||||
return {
|
return {
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
errors: [],
|
errors: [],
|
||||||
|
|
|
@ -32,9 +32,9 @@ export default {
|
||||||
ApplicationForm
|
ApplicationForm
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
name: { type: String, required: true },
|
name: { type: String, default: '' },
|
||||||
redirectUris: { type: String, required: true },
|
redirectUris: { type: String, default: '' },
|
||||||
scopes: { type: Array, required: true }
|
scopes: { type: String, default: '' }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue