Fix bg change destroy condition
parent
3b2325483d
commit
359fb4787c
|
@ -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', '');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue