lint fix
This commit is contained in:
parent
9f33cf4e6e
commit
86bbf252b3
|
@ -54,12 +54,12 @@ function attachmentRenderer(constraints, editable) {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const deleteFile = (event) => {
|
const deleteFile = event => {
|
||||||
const newFilesArray = params.value.filter((file) => file !== event.detail)
|
const newFilesArray = params.value.filter(file => file !== event.detail)
|
||||||
params.setValue(newFilesArray)
|
params.setValue(newFilesArray)
|
||||||
}
|
}
|
||||||
|
|
||||||
attachmentInstance.$on('delete', deleteFile)
|
attachmentInstance.$on("delete", deleteFile)
|
||||||
|
|
||||||
return container
|
return container
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue