mirror of
https://github.com/zadam/trilium.git
synced 2026-01-07 07:04:25 +01:00
fix(revisions): missing meta information about revisions
This commit is contained in:
parent
cdd4fbc81d
commit
542d485267
@ -234,7 +234,7 @@ const CODE_STYLE: CSSProperties = {
|
||||
|
||||
function RevisionContent({ noteContent, revisionItem, fullRevision, showDiff }: { noteContent?:string, revisionItem?: RevisionItem, fullRevision?: RevisionPojo, showDiff: boolean}) {
|
||||
const content = fullRevision?.content;
|
||||
if (!revisionItem || !content) {
|
||||
if (!revisionItem || !fullRevision) {
|
||||
return <></>;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user