Loading src/app/modules/boost/console/booster/booster.component.spec.ts +1 −1 Original line number Original line Diff line number Diff line Loading @@ -88,7 +88,7 @@ describe('BoostConsoleBooster', () => { expect(poster).not.toBeNull(); 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})]); comp.feed$ = of([BehaviorSubject.create({id: 1}), BehaviorSubject.create({id: 2})]); fixture.detectChanges(); fixture.detectChanges(); Loading src/app/modules/boost/console/booster/booster.component.ts +4 −4 Original line number Original line Diff line number Diff line Loading @@ -27,9 +27,9 @@ export class BoostConsoleBooster { feed$: Observable<BehaviorSubject<Object>[]>; feed$: Observable<BehaviorSubject<Object>[]>; componentRef; componentRef; componentInstance: PosterComponent; componentInstance: PosterComponent; inProgress: boolean = true; inProgress = true; loaded: boolean = false; loaded = false; noContent: boolean = true; noContent = true; constructor( constructor( public client: Client, public client: Client, Loading Loading @@ -70,7 +70,7 @@ export class BoostConsoleBooster { this.feedsService this.feedsService .setEndpoint( .setEndpoint( this.type === 'content' 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` : `api/v2/feeds/container/${this.minds.user.guid}/activities` ) ) .setParams({sync: true}) .setParams({sync: true}) Loading Loading
src/app/modules/boost/console/booster/booster.component.spec.ts +1 −1 Original line number Original line Diff line number Diff line Loading @@ -88,7 +88,7 @@ describe('BoostConsoleBooster', () => { expect(poster).not.toBeNull(); 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})]); comp.feed$ = of([BehaviorSubject.create({id: 1}), BehaviorSubject.create({id: 2})]); fixture.detectChanges(); fixture.detectChanges(); Loading
src/app/modules/boost/console/booster/booster.component.ts +4 −4 Original line number Original line Diff line number Diff line Loading @@ -27,9 +27,9 @@ export class BoostConsoleBooster { feed$: Observable<BehaviorSubject<Object>[]>; feed$: Observable<BehaviorSubject<Object>[]>; componentRef; componentRef; componentInstance: PosterComponent; componentInstance: PosterComponent; inProgress: boolean = true; inProgress = true; loaded: boolean = false; loaded = false; noContent: boolean = true; noContent = true; constructor( constructor( public client: Client, public client: Client, Loading Loading @@ -70,7 +70,7 @@ export class BoostConsoleBooster { this.feedsService this.feedsService .setEndpoint( .setEndpoint( this.type === 'content' 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` : `api/v2/feeds/container/${this.minds.user.guid}/activities` ) ) .setParams({sync: true}) .setParams({sync: true}) Loading