remove callback
This commit is contained in:
parent
e52513fa91
commit
8c52d26669
|
@ -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);
|
||||
}
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Reference in New Issue