Skip to content
Commits on Source (2)
......@@ -113,6 +113,8 @@ import { PageLayoutComponent } from './components/page-layout/page-layout.compon
import { DashboardLayoutComponent } from './components/dashboard-layout/dashboard-layout.component';
import { ShadowboxLayoutComponent } from './components/shadowbox-layout/shadowbox-layout.component';
import { ShadowboxHeaderComponent } from './components/shadowbox-header/shadowbox-header.component';
import { FeaturedContentService } from './components/featured-content/featured-content.service';
import { FeedsService } from './services/feeds.service';
PlotlyModule.plotlyjs = PlotlyJS;
......@@ -354,6 +356,12 @@ PlotlyModule.plotlyjs = PlotlyJS;
useFactory: router => new RouterHistoryService(router),
deps: [Router],
},
{
provide: FeaturedContentService,
useFactory: boostedContentService =>
new FeaturedContentService(boostedContentService),
deps: [FeedsService],
},
],
entryComponents: [
NotificationsToasterComponent,
......
......@@ -130,7 +130,7 @@ export class FeedsService {
.get(this.endpoint, {
...this.params,
...{
limit: 150, // Over 12 scrolls
limit: this.limit.getValue(),
as_activities: this.castToActivities ? 1 : 0,
from_timestamp: this.pagingToken,
},
......