- restore nullable for position
This commit is contained in:
parent
7fd3be06ea
commit
753421a5a0
@ -17,7 +17,7 @@ class CVRequest extends FormRequest
|
||||
'locations' => 'required|array',
|
||||
'mission' => 'nullable|string',
|
||||
'rodo' => 'nullable|string',
|
||||
'position' => 'required|string',
|
||||
'position' => 'nullable|string',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ defineProps({
|
||||
</div>
|
||||
<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 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({
|
||||
get: () => categories.value.join(', '),
|
||||
|
Loading…
x
Reference in New Issue
Block a user