|
@@ -89,8 +89,9 @@
|
|
|
|
|
|
|
|
<v-row class="d-flex justify-space-between mb-8 center-90">
|
|
<v-row class="d-flex justify-space-between mb-8 center-90">
|
|
|
<p class="key-word mt-3">
|
|
<p class="key-word mt-3">
|
|
|
- <!-- TODO: remplacer par la bonne prop -->
|
|
|
|
|
- ROCK CONCERT FESTIVAL
|
|
|
|
|
|
|
+ <span v-for="tag in job.tags" class="mr-2">
|
|
|
|
|
+ {{ tag.name }}
|
|
|
|
|
+ </span>
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
<CommonShare />
|
|
<CommonShare />
|
|
@@ -110,7 +111,6 @@ import DateUtils from "~/services/utils/dateUtils";
|
|
|
|
|
|
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
const { fetch } = useEntityFetch()
|
|
const { fetch } = useEntityFetch()
|
|
|
-const config = useRuntimeConfig()
|
|
|
|
|
|
|
|
|
|
const jobId: number = parseInt(route.params.id as string)
|
|
const jobId: number = parseInt(route.params.id as string)
|
|
|
if (!jobId || isNaN(jobId)) {
|
|
if (!jobId || isNaN(jobId)) {
|
|
@@ -120,6 +120,10 @@ if (!jobId || isNaN(jobId)) {
|
|
|
const { data: job, pending } = fetch(JobPosting, jobId)
|
|
const { data: job, pending } = fetch(JobPosting, jobId)
|
|
|
|
|
|
|
|
const formatDate = (date: string) => {
|
|
const formatDate = (date: string) => {
|
|
|
|
|
+ console.log(date)
|
|
|
|
|
+ if (!date) {
|
|
|
|
|
+ return "-"
|
|
|
|
|
+ }
|
|
|
return DateUtils.format(new Date(date), "dd/MM/yyyy")
|
|
return DateUtils.format(new Date(date), "dd/MM/yyyy")
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|