Improve instance chart
This commit is contained in:
parent
1e166490d9
commit
1a2229f886
4 changed files with 40 additions and 3 deletions
|
@ -56,7 +56,7 @@ export default async function(user: User, note: Note, quiet = false) {
|
|||
if (Users.isRemoteUser(user)) {
|
||||
registerOrFetchInstanceDoc(user.host).then(i => {
|
||||
Instances.decrement({ id: i.id }, 'notesCount', 1);
|
||||
instanceChart.updateNote(i.host, false);
|
||||
instanceChart.updateNote(i.host, note, false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue