From c17ae740f45f22af22059a8cd4418eb8f35dcc4c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 12 Jan 2022 13:52:01 +0530 Subject: [PATCH] ui: fix getDiagnosticsData files field (#5853) Fixes #5707 Signed-off-by: Abhishek Kumar --- ui/src/views/AutogenView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 5baf0646120..35c65ca46af 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -1025,7 +1025,7 @@ export default { this.showAction = true for (const param of this.currentAction.paramFields) { - if (param.type === 'list' && ['tags', 'hosttags', 'storagetags'].includes(param.name)) { + if (param.type === 'list' && ['tags', 'hosttags', 'storagetags', 'files'].includes(param.name)) { param.type = 'string' } if (param.type === 'uuid' || param.type === 'list' || param.name === 'account' || (this.currentAction.mapping && param.name in this.currentAction.mapping)) {