Skip to content

Commit 7316bd0

Browse files
committed
change approach to renaming deadline_asap
1 parent 4457a28 commit 7316bd0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/career/components/JobDetails.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ const JobDetails: FC<IProps> = ({ opportunity }) => (
7171
<h3>Nøkkelinformasjon</h3>
7272
<p>Type: {opportunity.employment.name}</p>
7373
<p>Sted: {formatLocations(opportunity.location.map((loc) => loc.name))}</p>
74-
<p>Frist: {opportunity.deadline_asap ? 'Snarest' : formatDeadline(opportunity.deadline)}</p>
74+
{opportunity.deadline && <p>Frist: {formatDeadline(opportunity.deadline)}</p>}
7575
{opportunity.rolling_admission && (
7676
<p>
77-
<strong>Fortløpende opptak: Ja</strong>
77+
<strong>Fortløpende opptak</strong>
7878
</p>
7979
)}
8080
</div>

src/career/models/Career.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export interface ICareerOpportunity {
1010
end: string;
1111
featured: boolean;
1212
deadline: string;
13-
deadline_asap: boolean;
1413
rolling_admission: boolean;
1514
employment: IEmployment;
1615
location: ILocation[];

0 commit comments

Comments
 (0)