ui: fix getDiagnosticsData files field (#5853)

Fixes #5707

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2022-01-12 13:52:01 +05:30 committed by GitHub
parent 216bea1978
commit c17ae740f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {