This repository was archived by the owner on Feb 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
apps/jobboard-frontend/src/modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ export function JobCard({ job }: JobCardProps) {
4242 return t ( `jobs.tags.tags.${ key ?? tag } ` , tag ) ;
4343 } ) ;
4444 const jobTypes = job . type . map ( ( type ) => t ( jobTypeLabelKeyMap [ type ] ?? type ) ) ;
45- const location =
46- job . location . toLowerCase ( ) === 'remote' ? t ( 'jobs.card.remote' ) : job . location ;
4745
4846 return (
4947 < Card
@@ -121,7 +119,7 @@ export function JobCard({ job }: JobCardProps) {
121119 </ span >
122120 < span className = "flex items-center gap-1" >
123121 < MapPin className = "size-4 text-primary" aria-hidden />
124- { location }
122+ { job . remote ? t ( 'jobs.card.remote' ) : job . workplace . location }
125123 </ span >
126124 </ div >
127125 </ div >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function convertJobPostToJob(jobPost: JobPostResponse): Job {
4848 ethicalTags : [ ] ,
4949 ethicalAverages : { } ,
5050 } ,
51- location : jobPost . remote ? 'Remote' : jobPost . location ,
51+ remote : jobPost . remote ,
5252 type,
5353 minSalary : Math . floor ( jobPost . minSalary / 1000 ) , // Convert to 'k' format
5454 maxSalary : Math . floor ( jobPost . maxSalary / 1000 ) ,
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export type Job = {
8484 title : string ;
8585 description ?: string ;
8686 workplace : WorkplaceBriefResponse ;
87- location : string ;
87+ remote : boolean ;
8888 type : JobType [ ] ;
8989 minSalary : number ;
9090 maxSalary : number ;
You can’t perform that action at this time.
0 commit comments