Commit d533ef85 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): run change detection after shouldShowCategories()

1 merge request!486WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline #76013845 running with stages
......@@ -74,6 +74,8 @@ export class ProChannelComponent implements OnInit, OnDestroy {
shouldShowCategories(type: string) {
const routes = ['images', 'videos', 'articles', 'feed', 'communities'];
this.showCategories = routes.indexOf(type) !== -1;
this.detectChanges();
}
listen() {
......
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