mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 10:34:25 +01:00
fix(print/table): missing title
This commit is contained in:
parent
749740242e
commit
c43820776f
@ -12,7 +12,11 @@ export default function TablePrintView({ note, noteIds, viewConfig }: ViewModePr
|
||||
const [ html, setHtml ] = useState<string>();
|
||||
|
||||
return rowData && (
|
||||
<>
|
||||
<h1>{note.title}</h1>
|
||||
|
||||
<div className="table-print-view">
|
||||
|
||||
{!html ? (
|
||||
<Tabulator
|
||||
tabulatorRef={tabulatorRef}
|
||||
@ -34,9 +38,10 @@ export default function TablePrintView({ note, noteIds, viewConfig }: ViewModePr
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
<RawHtmlBlock html={html} className="tabulator-print-fullscreen" />
|
||||
<RawHtmlBlock html={html} />
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user