mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix argument-less manifest
This commit is contained in:
parent
2fef301055
commit
41f1858ff7
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export default {
|
|||
}
|
||||
|
||||
const { data: args, label } = formatFormData(this.form, { extract: ['label'] })
|
||||
const data = { app: this.id, label, args: objectToParams(args) }
|
||||
const data = { app: this.id, label, args: Object.entries(args).length ? objectToParams(args) : undefined }
|
||||
|
||||
api.post('apps', data, { key: 'apps.install', name: this.name }).then(() => {
|
||||
this.$router.push({ name: 'app-list' })
|
||||
|
|
Loading…
Reference in a new issue