<commit_before>import {
  Component,
  Input,
  Output,
  EventEmitter,
  ViewChild,
  HostBinding,
  OnDestroy,
} from '@angular/core';
import { Router, NavigationStart } from '@angular/router';
import { FeaturesService } from '../../services/features.service';
import { Subscription } from 'rxjs';

@Component({
  moduleId: module.id,
  selector: 'm-notifications--flyout',
  templateUrl: 'flyout.component.html',
  styleUrls: ['./flyout.component.ng.scss'],
})
export class NotificationsFlyoutComponent implements OnDestroy {
  @Input() visible: boolean = false;
  @Output('close') closeEvt: EventEmitter<any> = new EventEmitter();

  @ViewChild('notifications', { static: true }) notificationList: any;

  @HostBinding('class.m-notificationsFlyout--newDesign')
  newNavigation: boolean = false;

  @HostBinding('class.v3') v3: boolean;

  routerSubscription: Subscription = null;

  constructor(
    private featuresService: FeaturesService,
    private router: Router<commit_msg>Fix viewchild not being loaded on flyout open<commit_after>import {
  Component,
  Input,
  Output,
  EventEmitter,
  ViewChild,
  HostBinding,
  OnDestroy,
} from '@angular/core';
import { Router, NavigationStart } from '@angular/router';
import { FeaturesService } from '../../services/features.service';
import { Subscription } from 'rxjs';

@Component({
  moduleId: module.id,
  selector: 'm-notifications--flyout',
  templateUrl: 'flyout.component.html',
  styleUrls: ['./flyout.component.ng.scss'],
})
export class NotificationsFlyoutComponent implements OnDestroy {
  @Input() visible: boolean = false;
  @Output('close') closeEvt: EventEmitter<any> = new EventEmitter();

  @ViewChild('notifications', { static: false }) notificationList: any;

  @HostBinding('class.m-notificationsFlyout--newDesign')
  newNavigation: boolean = false;

  @HostBinding('class.v3') v3: boolean;

  routerSubscription: Subscription = null;

  constructor(
    private featuresService: FeaturesService,
    private router: Router
{'fraction_non_alphanumeric': 0.13193403298350825, 'fraction_numerical': 0.001999000499750125, 'mean_word_length': 5.066666666666666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4663116', 'n_tokens_mistral': 598, 'n_tokens_neox': 593, 'n_words': 142}