fix : update
CI / Verify (push) Successful in 1m12s
CI / Build immutable images and deploy (push) Successful in 1m53s

This commit is contained in:
2026-09-05 18:45:57 +07:00 Unverified
parent 2429b9d319
commit 75e3e22e9b
4 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ export function ExtraSheetEditor({
type="color"
aria-label="เลือกสีพื้นหลังเซลล์"
className="absolute inset-0 cursor-pointer opacity-0"
value={activeRow?.backgrounds[activeColumn?.id ?? ""] ?? DEFAULT_CELL_BACKGROUND}
value={activeRow?.backgrounds?.[activeColumn?.id ?? ""] ?? DEFAULT_CELL_BACKGROUND}
onChange={(event) => onChange(updateExtraSheetCells(value, selectedPoints(), {
backgroundColor: event.target.value,
}))}
+1 -1
View File
@@ -1288,7 +1288,7 @@ function ExtraSectionContent({
<TableCell
key={column.id}
className="border-l first:border-l-0 whitespace-normal"
style={sheetRow.backgrounds[column.id]
style={sheetRow.backgrounds?.[column.id]
? { backgroundColor: sheetRow.backgrounds[column.id] }
: undefined}
>