diff --git a/admin-lehrer/components/grid-editor/GridTable.tsx b/admin-lehrer/components/grid-editor/GridTable.tsx index 083bbad..c128d96 100644 --- a/admin-lehrer/components/grid-editor/GridTable.tsx +++ b/admin-lehrer/components/grid-editor/GridTable.tsx @@ -131,6 +131,9 @@ export function GridTable({ const isBold = col.bold || cell?.is_bold const isLowConf = cell && cell.confidence > 0 && cell.confidence < 60 const cellColor = getCellColor(cell) + const hasColoredWords = cell?.word_boxes?.some( + (wb) => wb.color_name && wb.color_name !== 'black', + ) ?? false return (