mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
widget can be also enabled/disabled using labels
This commit is contained in:
@@ -11,8 +11,6 @@ class SimilarNotesWidget extends StandardWidget {
|
||||
async doRenderBody() {
|
||||
const similarNoteIds = await server.get('similar_notes/' + this.ctx.note.noteId);
|
||||
|
||||
console.log(similarNoteIds);
|
||||
|
||||
if (similarNoteIds.length === 0) {
|
||||
this.$body.text("No similar notes found ...");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user