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