mirror of
https://github.com/linuxserver/heimdalljs.git
synced 2026-02-20 05:12:24 +08:00
change set to append for consistency
This commit is contained in:
parent
a5864c5377
commit
0b7dbb11fa
@ -177,11 +177,11 @@ export default {
|
||||
async onSubmit (evt) {
|
||||
const applicationType = (this.applicationtype !== null) ? this.applicationtype.appid : null
|
||||
const formData = new FormData()
|
||||
formData.set('color', this.color)
|
||||
formData.set('applicationType', applicationType)
|
||||
formData.set('title', this.title)
|
||||
formData.set('tags', this.tags)
|
||||
formData.set('url', this.url)
|
||||
formData.append('color', this.color)
|
||||
formData.append('applicationType', applicationType)
|
||||
formData.append('title', this.title)
|
||||
formData.append('tags', this.tags)
|
||||
formData.append('url', this.url)
|
||||
formData.append('icon', this.icon)
|
||||
try {
|
||||
await this.$store.dispatch('tiles/save', formData)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user