diff --git a/app/src/views/app/AppInstall.vue b/app/src/views/app/AppInstall.vue index 2102232a..695c6b8f 100644 --- a/app/src/views/app/AppInstall.vue +++ b/app/src/views/app/AppInstall.vue @@ -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' })