From f76b64d3baa5d2ae7d6f59cf0a2bd0e210281306 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sun, 22 Sep 2019 00:49:18 +0200 Subject: [PATCH] fix(reDesign): side bar button styles not being loaded for some projects --- src/app/core-ui/side-nav/side-nav.component.html | 8 ++++++-- src/app/core-ui/side-nav/side-nav.component.ts | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/core-ui/side-nav/side-nav.component.html b/src/app/core-ui/side-nav/side-nav.component.html index c4e6c8d8e6..2556505321 100644 --- a/src/app/core-ui/side-nav/side-nav.component.html +++ b/src/app/core-ui/side-nav/side-nav.component.html @@ -3,13 +3,13 @@ routerLink="work-view" routerLinkActive="isActiveRoute"> wb_sunny - {{T.MH.TASKS|translate}} + {{T.MH.TASKS|translate}} + + + + diff --git a/src/app/core-ui/side-nav/side-nav.component.ts b/src/app/core-ui/side-nav/side-nav.component.ts index d105de73d2..3535f767b0 100644 --- a/src/app/core-ui/side-nav/side-nav.component.ts +++ b/src/app/core-ui/side-nav/side-nav.component.ts @@ -1,4 +1,4 @@ -import {ChangeDetectionStrategy, Component} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core'; import {ProjectService} from '../../features/project/project.service'; import {T} from '../../t.const'; import {DialogCreateProjectComponent} from '../../features/project/dialogs/create-project/dialog-create-project.component'; @@ -10,7 +10,7 @@ import {THEME_COLOR_MAP} from '../../app.constants'; selector: 'side-nav', templateUrl: './side-nav.component.html', styleUrls: ['./side-nav.component.scss'], - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, }) export class SideNavComponent { T = T;