Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
7cd6a131
Commit
7cd6a131
authored
Jun 03, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add asset imagery
parent
d25edad2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.js
src/views/assets/projectassets/add/index.js
+3
-2
No files found.
src/views/assets/projectassets/add/index.js
View file @
7cd6a131
...
@@ -21,7 +21,7 @@ import '@styles/react/libs/tables/react-dataTable-component.scss'
...
@@ -21,7 +21,7 @@ import '@styles/react/libs/tables/react-dataTable-component.scss'
const
Tables
=
()
=>
{
const
Tables
=
()
=>
{
const
dispatch
=
useDispatch
()
const
dispatch
=
useDispatch
()
const
onSubmitHandler
=
values
=>
{
const
onSubmitHandler
=
(
values
,
uploadFile
)
=>
{
dispatch
(
dispatch
(
addasset
({
addasset
({
projectid
:
values
.
projectid
,
projectid
:
values
.
projectid
,
...
@@ -32,7 +32,8 @@ const Tables = () => {
...
@@ -32,7 +32,8 @@ const Tables = () => {
textual
:
values
.
textual
,
textual
:
values
.
textual
,
availability
:
values
.
availability
,
availability
:
values
.
availability
,
genres
:
values
.
genres
,
genres
:
values
.
genres
,
subgenres
:
values
.
subgenres
subgenres
:
values
.
subgenres
,
data
:
uploadFile
}
}
)
)
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment