Fix bg change destroy condition

pull/24/head
HardiReady 2018-01-21 11:50:22 +01:00
parent 3b2325483d
commit 359fb4787c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export class ArmyComponent {
};
ngOnDestroy() {
if (this.router.url.includes(RouteConfig.overviewPath)) {
if (!this.router.url.includes(RouteConfig.overviewPath)) {
this.document.getElementById('right').setAttribute('style', '');
}
}