improve notification popup interactivity: read all, layout, position
[oweals/peertube.git] / client / src / app / menu / language-chooser.component.ts
index 8eb84673ea08242b3d6119f9c514e7378ff1151c..4a6e4c75ae4b044be8afd83ebd645c90e312b1d4 100644 (file)
@@ -9,7 +9,7 @@ import { sortBy } from '@app/shared/misc/utils'
   styleUrls: [ './language-chooser.component.scss' ]
 })
 export class LanguageChooserComponent {
-  @ViewChild('modal') modal: ElementRef
+  @ViewChild('modal', { static: true }) modal: ElementRef
 
   languages: { id: string, label: string }[] = []