Commit 3157378a authored by PDuarte's avatar PDuarte

create project with platforms

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