Commit 2fc2fc95 authored by Mark Harding's avatar Mark Harding

(chore): clear boost feed on refresh

parent c8af9c69
Pipeline #76332411 pending with stages
......@@ -53,7 +53,7 @@ export class NewsfeedBoostComponent {
ngOnInit() {
this.load();
this.load(true);
this.minds = window.Minds;
this.paramsSubscription = this.route.params.subscribe(params => {
......@@ -77,6 +77,10 @@ export class NewsfeedBoostComponent {
if (this.inProgress)
return false;
if (refresh) {
this.feedsService.clear();
}
this.feedsService
.setEndpoint('api/v2/boost/feed')
.setParams({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment