WIP Sync contributions

This commit is contained in:
2020-05-29 13:13:21 +02:00
parent eb2c613ac9
commit 63dd5430bc
12 changed files with 129 additions and 32 deletions
+4 -2
View File
@@ -25,9 +25,11 @@ export default Route.extend({
})
.then(() => {
if (this.kredits.contributorsNeedFetch) {
schedule('afterRender', this.kredits, this.kredits.fetchContributors);
schedule('afterRender', this.kredits.syncContributors,
this.kredits.syncContributors.perform);
}
schedule('afterRender', this.kredits, this.kredits.fetchContributions);
schedule('afterRender', this.kredits.syncContributions,
this.kredits.syncContributions.perform);
});
}
});