Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 8c52d26

Browse files
committed
remove callback
1 parent e52513f commit 8c52d26

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ export default class extends Component {
2828

2929
@action
3030
showUserNotes() {
31-
showUserNotes(this.store, this.args.outletArgs.user.id, (count) => {
32-
if (this.isDestroying || this.isDestroyed) {
33-
return;
34-
}
35-
36-
this.set("userNotesCount", count);
37-
});
31+
showUserNotes(this.store, this.args.outletArgs.user.id);
3832
}
3933

4034
<template>

0 commit comments

Comments
 (0)