Commit 704793e8 authored by Ben Hayward's avatar Ben Hayward

Updated to pull sidebar from v2 feeds endpoint

1 merge request!501[Sprint/LuckyLizard](fix) Boost console feed #1596
Pipeline #78977531 passed with stages
in 47 minutes and 4 seconds
......@@ -88,7 +88,7 @@ describe('BoostConsoleBooster', () => {
expect(poster).not.toBeNull();
});
it("should not have a poster if the user has posted content", () => {
it('should not have a poster if the user has posted content', () => {
comp.feed$ = of([BehaviorSubject.create({id: 1}), BehaviorSubject.create({id: 2})]);
fixture.detectChanges();
......
......@@ -27,9 +27,9 @@ export class BoostConsoleBooster {
feed$: Observable<BehaviorSubject<Object>[]>;
componentRef;
componentInstance: PosterComponent;
inProgress: boolean = true;
loaded: boolean = false;
noContent: boolean = true;
inProgress = true;
loaded = false;
noContent = true;
constructor(
public client: Client,
......@@ -70,7 +70,7 @@ export class BoostConsoleBooster {
this.feedsService
.setEndpoint(
this.type === 'content'
? 'api/v1/entities/owner'
? `api/v2/feeds/container/${this.minds.user.guid}/channels`
: `api/v2/feeds/container/${this.minds.user.guid}/activities`
)
.setParams({sync: true})
......
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