Commit 3157378a authored by PDuarte's avatar PDuarte

create project with platforms

parent 61546266
...@@ -18,6 +18,7 @@ import { isObjEmpty } from '@utils' ...@@ -18,6 +18,7 @@ import { isObjEmpty } from '@utils'
import ProjectCard from '../edit/projectCard' import ProjectCard from '../edit/projectCard'
// ** Styles // ** Styles
import '@styles/react/libs/tables/react-dataTable-component.scss' import '@styles/react/libs/tables/react-dataTable-component.scss'
import { platform } from 'chart.js'
const Tables = () => { const Tables = () => {
const dispatch = useDispatch() const dispatch = useDispatch()
...@@ -26,7 +27,8 @@ const Tables = () => { ...@@ -26,7 +27,8 @@ const Tables = () => {
addProject({ addProject({
id: values.id, id: values.id,
app_name: values.app_name, app_name: values.app_name,
customer_name: values.customer_name customer_name: values.customer_name,
platforms: values.platforms
}) })
) )
...@@ -50,7 +52,8 @@ const Tables = () => { ...@@ -50,7 +52,8 @@ const Tables = () => {
<ProjectCard selectedProject={{ <ProjectCard selectedProject={{
id: '<generate>', id: '<generate>',
app_name: '', app_name: '',
customer_name: '' customer_name: '',
platforms: []
}} }}
onSubmitHandler={onSubmitHandler} onSubmitHandler={onSubmitHandler}
/> />
......
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