Changeset 4302312 for client_app/src/components/item_components
- Timestamp:
- 01/15/21 03:57:59 (4 years ago)
- Branches:
- master
- Children:
- ed3f5c4
- Parents:
- 21175ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/item_components/job_component.js
r21175ba r4302312 6 6 return( 7 7 <Segment> 8 <Header as="h3">{props. title}</Header>8 <Header as="h3">{props.item.title}</Header> 9 9 {props.type!=="USER" ? <Button primary as={Link} to={{ 10 10 pathname: "/edit/job", 11 11 state: { 12 jobId: props.i d,13 accId: props. accId,14 type: props. type12 jobId: props.item.id, 13 accId: props.item.accId, 14 type: props.item.type 15 15 } 16 16 }}>Edit</Button> : <span> </span>} 17 <Segment>{props. description}</Segment>17 <Segment>{props.item.description}</Segment> 18 18 <Segment> 19 <Header as="h5" color="grey">{props. accountName}</Header>20 <Header as="h4" color="blue">Owner Mail: {props. accountEmail}</Header>19 <Header as="h5" color="grey">{props.item.accountName}</Header> 20 <Header as="h4" color="blue">Owner Mail: {props.item.accountEmail}</Header> 21 21 </Segment> 22 22 <Segment> 23 23 <Header as="h3">Skills Required:</Header> 24 24 <List> 25 {props. skills.map(skill => {25 {props.item.skills.map(skill => { 26 26 return <List.Item key={skill.id}>{skill.name}</List.Item> 27 27 })}
Note:
See TracChangeset
for help on using the changeset viewer.