- restore nullable for position
This commit is contained in:
parent
7fd3be06ea
commit
753421a5a0
@ -17,7 +17,7 @@ class CVRequest extends FormRequest
|
|||||||
'locations' => 'required|array',
|
'locations' => 'required|array',
|
||||||
'mission' => 'nullable|string',
|
'mission' => 'nullable|string',
|
||||||
'rodo' => 'nullable|string',
|
'rodo' => 'nullable|string',
|
||||||
'position' => 'required|string',
|
'position' => 'nullable|string',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ defineProps({
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="text-gray-500 pb-0.5">Stanowisko</div>
|
<div class="text-gray-500 pb-0.5">Stanowisko</div>
|
||||||
<p class="w-full min-w-full max-w-full px-2.5 py-2 border-b-2 rounded-md bg-white">{{ cv.position }}</p>
|
<p class="w-full min-w-full max-w-full px-2.5 py-2 border-b-2 rounded-md bg-white">{{ cv.position ?? '[Wartość domyślna]' }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="text-gray-500 pb-0.5">E-mail</div>
|
<div class="text-gray-500 pb-0.5">E-mail</div>
|
||||||
|
@ -10,7 +10,7 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const categories = ref(props.project.categories ?? []);
|
const categories = ref(props.project?.categories ?? []);
|
||||||
|
|
||||||
const categoryToString = computed({
|
const categoryToString = computed({
|
||||||
get: () => categories.value.join(', '),
|
get: () => categories.value.join(', '),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user