diff --git a/assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs b/assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs index 5b3bd10..052c402 100644 --- a/assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs +++ b/assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs @@ -28,13 +28,7 @@ export default class extends Component { @action showUserNotes() { - showUserNotes(this.store, this.args.outletArgs.user.id, (count) => { - if (this.isDestroying || this.isDestroyed) { - return; - } - - this.set("userNotesCount", count); - }); + showUserNotes(this.store, this.args.outletArgs.user.id); }