fix(commons): typecheck

This commit is contained in:
Elian Doran 2026-03-08 23:12:42 +02:00
parent 69e374138f
commit ccb13fa6b9
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ export const TYPE_MAPPINGS: Record<ExtendedNoteType, NoteTypeMapping> = {
isFullHeight: true
},
spreadsheet: {
view: () => import("./type_widgets/Spreadsheet/Spreadsheet"),
view: () => import("./type_widgets/spreadsheet/Spreadsheet"),
className: "note-detail-spreadsheet",
printable: true,
isFullHeight: true

View File

@ -204,7 +204,7 @@ function renderSheet(sheet: IWorksheetData, styles: Record<string, IStyleData |
const attrs: string[] = [];
if (cssText) attrs.push(`style="${cssText}"`);
if (mergeInfo && mergeInfo !== "hidden") {
if (mergeInfo) {
if (mergeInfo.rowSpan > 1) attrs.push(`rowspan="${mergeInfo.rowSpan}"`);
if (mergeInfo.colSpan > 1) attrs.push(`colspan="${mergeInfo.colSpan}"`);
}