diff --git a/frontend/src/screens/Jobs.jsx b/frontend/src/screens/Jobs.jsx index 94dfd18..03dae78 100644 --- a/frontend/src/screens/Jobs.jsx +++ b/frontend/src/screens/Jobs.jsx @@ -787,7 +787,7 @@ function JobForm({ departmentOptions, busy, onClose, onSubmit }) { requirements: splitLines(v.requirements), optional_skills: splitLines(v.optional_skills), description: v.description.trim() || null, - hiring_manager_id: v.hiring_manager_id || undefined, + hiring_manager_id: v.hiring_manager_id || null, current_recruiter_ids: (v.current_recruiter_ids || []).filter(Boolean), requisition_id: v.requisition_id || undefined, }, imageFile) @@ -881,19 +881,19 @@ function JobForm({ departmentOptions, busy, onClose, onSubmit }) {
- + form.setField('hiring_manager_id', id)} - placeholder="Search hiring managers…" + placeholder="Leave unassigned, or search…" disabled={busy} loading={managersQuery.isPending} allowEmpty emptyLabel="Unassigned" /> {managersQuery.isError && ( -

Could not load hiring managers.

+

Could not load hiring managers. You can still create the job without one.

)}
@@ -1186,12 +1186,12 @@ function EditJobForm({ job: j, departmentOptions, busy, onClose, onSubmit }) { {form.errors.title}
- + form.setField('hiring_manager_id', id)} - placeholder="Search hiring managers…" + placeholder="Leave unassigned, or search…" disabled={busy} loading={managersQuery.isPending} allowEmpty @@ -1284,7 +1284,7 @@ function JobOwnership({ job, canEdit }) {
Ownership
- + {canEdit ? (