Skip to content

Commit

Permalink
fix: display correct job location on job card
Browse files Browse the repository at this point in the history
This commit fixes an issue where the job location was not being displayed correctly on the job card.

The
 location is now retrieved from the associated business object instead of the job object itself.
  • Loading branch information
OkelloSam21 committed Aug 15, 2024
1 parent ceaef43 commit 8dec14e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fun JobCard(
Row {
Text(text = "ksh ${job.budget?: "Not Specified"}")
Spacer(modifier = Modifier.width(8.dp))
Text(text = "Location : ${job.location?: "N/A"} ")
Text(text = "Location : ${job.business?.location ?: "N/A"} ")
}
}
}
Expand Down

0 comments on commit 8dec14e

Please sign in to comment.