fix(ui): zmeneny text - text - v select boxu

This commit is contained in:
BOHA
2026-06-12 14:56:52 +02:00
parent 164ce54adf
commit 6f3f1c40e7
6 changed files with 7 additions and 7 deletions

View File

@@ -835,7 +835,7 @@ export default function Attendance() {
onChange={(val) => handleSwitchProject(val || null)}
disabled={switchingProject}
options={[
{ value: "", label: "— Bez projektu —" },
{ value: "", label: "Vyberte projekt" },
...projects.map((p) => ({
value: String(p.id),
label: `${p.project_number} ${p.name}`,

View File

@@ -554,7 +554,7 @@ export default function Projects() {
setCreateForm({ ...createForm, customer_id: value })
}
options={[
{ value: "", label: " bez zákazníka " },
{ value: "", label: "Vyberte zákaznika" },
...(customersQuery.data ?? []).map((c) => ({
value: String(c.id),
label: c.name,
@@ -571,7 +571,7 @@ export default function Projects() {
setCreateForm({ ...createForm, responsible_user_id: value })
}
options={[
{ value: "", label: " nepřiřazeno " },
{ value: "", label: "Vyberte zaměstnance" },
...(usersQuery.data ?? [])
.filter((u) => u.is_active)
.map((u) => ({

View File

@@ -625,7 +625,7 @@ export default function OrdersReceived({
setCreateForm({ ...createForm, customer_id: value })
}
options={[
{ value: "", label: "— bez zákazníka" },
{ value: "", label: "Vyberte zákazníka" },
...(customersQuery.data ?? []).map((c) => ({
value: String(c.id),
label: c.name,