mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08: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
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,11 @@ class NoteDetailRender {
|
|||
this.$component.show();
|
||||
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() {}
|
||||
|
|
Loading…
Reference in a new issue