mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix showing up of render note help view if no renderNote relations have been found
This commit is contained in:
parent
b8db842788
commit
b5a0cadcf4
@ -18,7 +18,11 @@ class NoteDetailRender {
|
|||||||
this.$component.show();
|
this.$component.show();
|
||||||
this.$noteDetailRenderHelp.hide();
|
this.$noteDetailRenderHelp.hide();
|
||||||
|
|
||||||
await renderService.render(this.ctx.note, this.$noteDetailRenderContent, this.ctx);
|
const renderNotesFound = await renderService.render(this.ctx.note, this.$noteDetailRenderContent, this.ctx);
|
||||||
|
|
||||||
|
if (!renderNotesFound) {
|
||||||
|
this.$noteDetailRenderHelp.show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getContent() {}
|
getContent() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user