aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-22 09:42:05 +0200
committerChocobozzz <me@florianbigard.com>2018-05-22 09:42:05 +0200
commitf954b5da2a9a5960d7c9563522f1ac0b2c10f96c (patch)
tree288d07e44319b6bdee6c23d05956aa152ec68580 /client/src/app/app.component.ts
parente7eb5b399725afe7bae2dac27235a6e9478a2f12 (diff)
downloadPeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.tar.gz
PeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.tar.zst
PeerTube-f954b5da2a9a5960d7c9563522f1ac0b2c10f96c.zip
Fix change detection in app component
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 18115ae75..d5ba24e23 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -112,11 +112,4 @@ export class AppComponent implements OnInit {
112 window.scrollTo(0, 0) 112 window.scrollTo(0, 0)
113 this.isMenuDisplayed = !this.isMenuDisplayed 113 this.isMenuDisplayed = !this.isMenuDisplayed
114 } 114 }
115
116 getMainColClasses () {
117 // Take all width is the menu is not displayed
118 if (this.isMenuDisplayed === false) return [ 'expanded' ]
119
120 return []
121 }
122} 115}