diff --git a/components/admin/editors/artifact-editor.tsx b/components/admin/editors/artifact-editor.tsx index 773fa6e..589ce7f 100644 --- a/components/admin/editors/artifact-editor.tsx +++ b/components/admin/editors/artifact-editor.tsx @@ -15,6 +15,7 @@ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, import { Combobox, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList } from "@/components/ui/combobox"; import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSet } from "@/components/ui/field"; import { ClearableInput as Input } from "@/components/admin/ui/clearable-input"; +import { Input as StandardInput } from "@/components/ui/input"; import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Textarea } from "@/components/ui/textarea"; import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"; @@ -231,9 +232,9 @@ export function SortableTalentCard({ @@ -352,7 +352,7 @@ export function ExtraEditor({ guide, extraSectionId, initial, characters, weapon + - + ))} @@ -972,7 +972,7 @@ export function TeamEditor({ diff --git a/components/admin/glossary-manager.tsx b/components/admin/glossary-manager.tsx index e396263..d4b2ae3 100644 --- a/components/admin/glossary-manager.tsx +++ b/components/admin/glossary-manager.tsx @@ -159,7 +159,7 @@ export function GlossaryManager({

{name ?? entry.catalogKey}

{name ? kindLabels[entry.kind as GlossaryKind] : "Unavailable"} -
diff --git a/components/admin/guide-overview-form.tsx b/components/admin/guide-overview-form.tsx index 0af5fdc..de4a0ee 100644 --- a/components/admin/guide-overview-form.tsx +++ b/components/admin/guide-overview-form.tsx @@ -86,11 +86,11 @@ function SortableVideoLink({ link, index, guideName, onChange, onRemove }: { lin return (
- YouTube video {index + 1} -
@@ -110,7 +110,7 @@ function SortableBleedingLayer({ layer, onChange, onRemove }: { layer: BleedingL const selectedMode = blendModeItems.find((mode) => mode.value === layer.blendMode); return (
- + {layer.imageUrl ? :
}
onChange({ amount: typeof value === "number" ? value : value[0] ?? 0 })} />
- +
); } diff --git a/components/admin/overview-image-generator.tsx b/components/admin/overview-image-generator.tsx index add893e..11314b3 100644 --- a/components/admin/overview-image-generator.tsx +++ b/components/admin/overview-image-generator.tsx @@ -659,7 +659,7 @@ function SortableBlendLayerRow({ >
)}
+ return ตัวละคร #{index + 1} ตัวละคร updateMember(index, { ...emptyMember(), characterKey })} />
อาวุธ updateMember(index, { weaponKey, refinement: "1" })} /> diff --git a/components/admin/ui/clearable-input.tsx b/components/admin/ui/clearable-input.tsx index c612aa6..4e1798b 100644 --- a/components/admin/ui/clearable-input.tsx +++ b/components/admin/ui/clearable-input.tsx @@ -35,6 +35,7 @@ export function ClearableInputGroupInput({ ref, onChange, onValueChange, ...prop {String(value).length > 0 && !props.disabled && !props.readOnly ? ( { diff --git a/components/admin/weapon-image-generator.tsx b/components/admin/weapon-image-generator.tsx index dbee2c7..2d9f753 100644 --- a/components/admin/weapon-image-generator.tsx +++ b/components/admin/weapon-image-generator.tsx @@ -222,7 +222,7 @@ export function WeaponImageGenerator({