Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cb4a7ce

Browse files
committed
add link to the Gig Title
1 parent 70dd05d commit cb4a7ce

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/containers/MyGigs/JobListing/JobCard/index.jsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@ const JobCard = ({ job }) => {
5555
<div styleName="card-body">
5656
<div styleName="job-card-content">
5757
<div styleName="content">
58-
<h4 styleName="title">{job.title}</h4>
58+
<h4 styleName="title">
59+
<a
60+
href={`${process.env.URL.BASE}/gigs/${job.jobExternalId}`} // eslint-disable-line no-undef
61+
>
62+
{job.title}
63+
</a>
64+
</h4>
5965
<ul styleName="job-items">
6066
<li>
6167
<div styleName="job-item">

src/services/myGigs.js

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const mapMyGigsData = (serverResponse) => {
4040
return {
4141
label: (gigPhase || "").toUpperCase(),
4242
title: myGig.title,
43+
jobExternalId: myGig.jobExternalId,
4344
paymentRangeFrom: myGig.payment.min,
4445
paymentRangeTo: myGig.payment.max,
4546
paymentRangeRateType: myGig.payment.frequency,

0 commit comments

Comments
 (0)