fix attachment
This commit is contained in:
@@ -79,7 +79,7 @@ const Request: FC<Props> = ({ addNewItem }) => {
|
|||||||
setIsEditMode(true)
|
setIsEditMode(true)
|
||||||
} else {
|
} else {
|
||||||
if (values.attachments.length) {
|
if (values.attachments.length) {
|
||||||
values.attachments = [...values.attachments, ...attachments]
|
values.attachments = attachments
|
||||||
|
|
||||||
}
|
}
|
||||||
const items_edit = [...items]
|
const items_edit = [...items]
|
||||||
|
|||||||
Reference in New Issue
Block a user