diff --git a/static/src/app/army/army.component.ts b/static/src/app/army/army.component.ts index 069b6d2..b55a932 100644 --- a/static/src/app/army/army.component.ts +++ b/static/src/app/army/army.component.ts @@ -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', ''); } }