Commit 7cd6a131 authored by PDuarte's avatar PDuarte

add asset imagery

parent d25edad2
......@@ -21,7 +21,7 @@ import '@styles/react/libs/tables/react-dataTable-component.scss'
const Tables = () => {
const dispatch = useDispatch()
const onSubmitHandler = values => {
const onSubmitHandler = (values, uploadFile) => {
dispatch(
addasset({
projectid: values.projectid,
......@@ -32,7 +32,8 @@ const Tables = () => {
textual: values.textual,
availability: values.availability,
genres: values.genres,
subgenres: values.subgenres
subgenres: values.subgenres,
data: uploadFile
}
)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment