templateUrl: './video-actions-dropdown.component.html',
styleUrls: [ './video-actions-dropdown.component.scss' ]
})
-export class VideoActionsDropdownComponent implements AfterViewInit, OnChanges {
+export class VideoActionsDropdownComponent implements OnChanges {
@ViewChild('playlistDropdown') playlistDropdown: NgbDropdown
@ViewChild('playlistAdd') playlistAdd: VideoAddToPlaylistComponent
return this.authService.getUser()
}
- ngAfterViewInit () {
- // We rely on mouseenter to lazy load actions
- if (this.screenService.isInTouchScreen()) {
- this.loadDropdownInformation()
- }
- }
-
ngOnChanges () {
this.buildActions()
}