diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-17 10:19:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-17 10:19:53 +0200 |
commit | 1bfc7b737975201645f43e58b485e864b3589bb3 (patch) | |
tree | c790b38f99783050b2f86926481e79b5693a497b /client/src/app/app.component.ts | |
parent | 245b9d27bc10a4d8c8eb64add06b653f12763f56 (diff) | |
download | PeerTube-1bfc7b737975201645f43e58b485e864b3589bb3.tar.gz PeerTube-1bfc7b737975201645f43e58b485e864b3589bb3.tar.zst PeerTube-1bfc7b737975201645f43e58b485e864b3589bb3.zip |
Some code style fixes
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 5b0439e6b..edec3216e 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -180,7 +180,7 @@ export class AppComponent implements OnInit, AfterViewInit { | |||
180 | 180 | ||
181 | eventsObs.pipe( | 181 | eventsObs.pipe( |
182 | filter((e: Event): e is GuardsCheckStart => e instanceof GuardsCheckStart), | 182 | filter((e: Event): e is GuardsCheckStart => e instanceof GuardsCheckStart), |
183 | filter(() => this.screenService.isInSmallView() || !!this.screenService.isInTouchScreen()) | 183 | filter(() => this.screenService.isInSmallView() || this.screenService.isInTouchScreen()) |
184 | ).subscribe(() => this.menu.setMenuDisplay(false)) // User clicked on a link in the menu, change the page | 184 | ).subscribe(() => this.menu.setMenuDisplay(false)) // User clicked on a link in the menu, change the page |
185 | } | 185 | } |
186 | 186 | ||