Commit 2e0ee039 authored by PDuarte's avatar PDuarte

layout detail project

parent 69f213a4
// ** React Imports
import { Fragment } from 'react'
import { Link } from 'react-router-dom'
// ** Custom Components
import Breadcrumbs from '@components/breadcrumbs'
......@@ -18,7 +19,20 @@ const Tables = () => {
<Breadcrumbs breadCrumbTitle='Settings' breadCrumbParent='Settings' breadCrumbActive='Projects' />
<Row>
<Col sm='12'>
<Link to="/settings/projects">Back to Projects</Link>
</Col>
</Row>
<Row>
<Col sm='12'>
<div class="card">
<div class="card-header">
<h4 class="card-title">Project</h4>
</div>
<div class="card-body">
<ProjectsEdit />
</div>
</div>
</Col>
</Row>
</Fragment>
......
......@@ -37,7 +37,7 @@ const ProjectsEdit = () => {
<Alert color='info'>
<h4 className='alert-heading'>Loading Project</h4>
<div className='alert-body'>
User with id: {id} doesn't exist. Check list of all Projects: <Link to='/settings/projects'>Projects List</Link>
If Project with id: {id} doesn't exist. Check list of all Projects: <Link to='/settings/projects'>Projects List</Link>
</div>
</Alert>
......
......@@ -12,7 +12,7 @@ import { Bell, Check, X, AlertTriangle, Info } from 'react-feather'
// ** Store & Actions
import { updateProject, resetResults } from '../../store/actions'
import { updateProject, resetResults, getProject } from '../../store/actions'
import { useForm } from 'react-hook-form'
import classnames from 'classnames'
......@@ -169,9 +169,9 @@ return (
<Button.Ripple className='mb-1 mb-sm-0 mr-0 mr-sm-1' type='submit' color='primary'>
Save Changes
</Button.Ripple>
<Button.Ripple color='secondary' outline>
{/* <Button.Ripple color='secondary' outline onClick={() => dispatch(getProject(selectedProject.id))} >
Reset
</Button.Ripple>
</Button.Ripple> */}
</Col>
</Row>
</Form>
......
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