fix backlinks in day note subtree, fixes #3158

This commit is contained in:
zadam
2022-10-22 15:01:10 +02:00
parent 63eb22c7ac
commit 14fb9c76b0
4 changed files with 26 additions and 22 deletions
@@ -86,7 +86,7 @@ export default class BacklinksWidget extends NoteContextAwareWidget {
this.clearItems();
// can't use froca since that would count only relations from loaded notes
const resp = await server.get(`notes/${this.noteId}/backlink-count`);
const resp = await server.get(`note-map/${this.noteId}/backlink-count`);
if (!resp || !resp.count) {
this.toggle(false);