Ignore:
Timestamp:
01/15/21 04:14:15 (3 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
6729ba5
Parents:
4302312
Message:

more groundwork

Location:
client_app/src/components/work
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • client_app/src/components/work/company_internships.js

    r4302312 red3f5c4  
    1212                    <Button as={Link} to={"/register/internship"} primary>Add</Button>
    1313                    <h1>Registered Internships:</h1>
    14                     {props.userProfile.internships.map(item =>{
     14                    {props.userProfile.internships.map((item, index) =>{
    1515                        return <Internships
    16                             title={item.title}
    17                             description={item.description}
    18                             accountName={item.accountName}
    19                             accountEmail={item.accountEmail}
    20                             skills={item.skillsTrained}
    21                             type={props.userProfile.type}
     16                            key={item.id}
     17                            index={index}
     18                            item={item}
    2219                        />
    2320                    })}
  • client_app/src/components/work/company_jobs.js

    r4302312 red3f5c4  
    1212                    <Button as={Link} to={"/register/job"} primary>Add</Button>
    1313                    <h1>Registered Jobs:</h1>
    14                     {props.userProfile.jobs.map(item =>{
     14                    {props.userProfile.jobs.map((item, index) =>{
    1515                        return <Jobs
     16                            key={item.id}
     17                            index={index}
    1618                            item={item}
    1719                        />
  • client_app/src/components/work/team_jobs.js

    r4302312 red3f5c4  
    1212                    <Button as={Link} to={"/register/job"} primary>Add</Button>
    1313                    <h1>Registered Jobs:</h1>
    14                     {props.userProfile.jobs.map(item =>{
     14                    {props.userProfile.jobs.map((item, index) =>{
    1515                        return <Jobs
     16                            key={item.id}
     17                            index={index}
    1618                            item={item}
    1719                        />
  • client_app/src/components/work/team_projects.js

    r4302312 red3f5c4  
    1212                    <Button as={Link} to={"/register/project"} primary>Add</Button>
    1313                    <h1>Registered Projects:</h1>
    14                     {props.userProfile.projects.map(item =>{
     14                    {props.userProfile.projects.map((item, index) =>{
    1515                        return <Projects
    16                             title={item.title}
    17                             description={item.description}
    18                             accountName={item.accountName}
    19                             accountEmail={item.accountEmail}
    20                             skills={item.skillsRequired}
    21                             type={props.userProfile.type}
     16                            key={item.id}
     17                            index={index}
     18                            item={item}
    2219                        />
    2320                    })}
  • client_app/src/components/work/user_internships.js

    r4302312 red3f5c4  
    1010                <Container>
    1111                <h1>Internships for you!</h1>
    12                 {props.userProfile.internships.map(item =>{
     12                {props.userProfile.internships.map((item, index) =>{
    1313                    return <Internships
    14                         title={item.title}
    15                         description={item.description}
    16                         accountName={item.accountName}
    17                         accountEmail={item.accountEmail}
    18                         skills={item.skillsTrained}
    19                         type={props.userProfile.type}
     14                        key={item.id}
     15                        index={index}
     16                        item={item}
    2017                    />})
    2118                }
  • client_app/src/components/work/user_jobs.js

    r4302312 red3f5c4  
    1111                <Container textAlign="left">
    1212                    <h1>Jobs for you!</h1>
    13                     {props.userProfile.jobs.map(item =>{
     13                    {props.userProfile.jobs.map((item, index) =>{
    1414                        return <Jobs
     15                            key={item.id}
     16                            index={index}
    1517                            item={item}
    1618                        />
  • client_app/src/components/work/user_projects.js

    r4302312 red3f5c4  
    1010                <Container>
    1111                    <h1>Projects for you!</h1>
    12                     {props.userProfile.projects.map(item =>{
     12                    {props.userProfile.projects.map((item,index) =>{
    1313                        return <Projects
    14                             title={item.title}
    15                             description={item.description}
    16                             accountName={item.accountName}
    17                             accountEmail={item.accountEmail}
    18                             skills={item.skillsRequired}
    19                             type={props.userProfile.type}
     14                            key={item.id}
     15                            index={index}
     16                            item={item}
    2017                        />})
    2118                    }
Note: See TracChangeset for help on using the changeset viewer.