Loading src/app/modules/channel-container/channel-container.component.ts +1 −11 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { protected showPro: boolean; protected param$: Subscription; protected queryParam$: Subscription; @ViewChild('channelComponent', { static: false }) channelComponent: ChannelComponent; Loading @@ -52,6 +51,7 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { this.param$ = this.route.params.subscribe(params => { if (params['username']) { this.username = params['username']; this.showPro = !params['pro'] || params['pro'] !== '0'; if ( this.username && Loading @@ -61,16 +61,6 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { } } }); this.queryParam$ = this.route.queryParams.subscribe(params => { this.showPro = true; if (params['pro']) { this.showPro = params['pro'] !== '0'; } this.load(); }); } canDeactivate(): boolean | Observable<boolean> { Loading src/app/modules/pro/channel/footer/footer.component.html +1 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,7 @@ </div> <div class="m-proChannelFooter__items m-proChannelFooter__socialItems"> <a [routerLink]="['/', user.username]" [queryParams]="{ pro: 0 }" > <a [routerLink]="['/' + user.username + '/feed', { pro: '0' }]"> <img alt="Minds" src="https://cdn-assets.minds.com/front/dist/en/assets/logos/bulb.svg" Loading Loading
src/app/modules/channel-container/channel-container.component.ts +1 −11 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { protected showPro: boolean; protected param$: Subscription; protected queryParam$: Subscription; @ViewChild('channelComponent', { static: false }) channelComponent: ChannelComponent; Loading @@ -52,6 +51,7 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { this.param$ = this.route.params.subscribe(params => { if (params['username']) { this.username = params['username']; this.showPro = !params['pro'] || params['pro'] !== '0'; if ( this.username && Loading @@ -61,16 +61,6 @@ export class ChannelContainerComponent implements OnInit, OnDestroy { } } }); this.queryParam$ = this.route.queryParams.subscribe(params => { this.showPro = true; if (params['pro']) { this.showPro = params['pro'] !== '0'; } this.load(); }); } canDeactivate(): boolean | Observable<boolean> { Loading
src/app/modules/pro/channel/footer/footer.component.html +1 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,7 @@ </div> <div class="m-proChannelFooter__items m-proChannelFooter__socialItems"> <a [routerLink]="['/', user.username]" [queryParams]="{ pro: 0 }" > <a [routerLink]="['/' + user.username + '/feed', { pro: '0' }]"> <img alt="Minds" src="https://cdn-assets.minds.com/front/dist/en/assets/logos/bulb.svg" Loading