fix hidden backlinks, closes #3158

This commit is contained in:
zadam 2022-09-22 23:29:20 +02:00
parent 9f744153e3
commit 85bf2a5706

View File

@ -93,7 +93,7 @@ export default class BacklinksWidget extends NoteContextAwareWidget {
return; return;
} }
this.$ticker.toggle(true); this.toggle(true);
this.$count.text( this.$count.text(
`${resp.count} backlink` `${resp.count} backlink`
+ (resp.count === 1 ? '' : 's') + (resp.count === 1 ? '' : 's')