diff --git a/src/app/app.component.ts b/src/app/app.component.ts index a9449cf..d329db3 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -113,11 +113,11 @@ export class AppComponent implements OnInit, OnDestroy { this.isViewPublic = (params['view'] == 'public'); }); this.layoutService.setOpen(false); + this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219)); + this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219)); this.subscriptions.push(this.params.subscribe(params => { if (this.paramsResolved) { this.loading = true; - this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219)); - this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219)); let isSearch = this.router.url.includes('search'); if (params && params['stakeholder']) { // this.stakeholder = this.stakeholderService.stakeholder; diff --git a/src/app/topic/topic.component.html b/src/app/topic/topic.component.html index 2bb3005..4084c77 100644 --- a/src/app/topic/topic.component.html +++ b/src/app/topic/topic.component.html @@ -18,15 +18,16 @@
- + - {{topic.name}} + {{topic.name}} - +