]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.ts
Fix change detection in app component
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.ts
index 18115ae75db4ca9c38667753687ba93fb5a35e73..d5ba24e23503bde7861781118eb515b00cfe664a 100644 (file)
@@ -112,11 +112,4 @@ export class AppComponent implements OnInit {
     window.scrollTo(0, 0)
     this.isMenuDisplayed = !this.isMenuDisplayed
   }
-
-  getMainColClasses () {
-    // Take all width is the menu is not displayed
-    if (this.isMenuDisplayed === false) return [ 'expanded' ]
-
-    return []
-  }
 }