-import {Component, ViewChild, OnInit, AfterViewInit, HostListener} from '@angular/core';
+import {Component, ViewChild, OnInit, HostListener} from '@angular/core';
import {Router, ActivatedRoute, ParamMap, RoutesRecognized} from '@angular/router';
import {Location} from '@angular/common';
import {NgbNav, NgbNavChangeEvent} from '@ng-bootstrap/ng-bootstrap';
templateUrl: 'patron.component.html',
styleUrls: ['patron.component.css']
})
-export class PatronComponent implements OnInit, AfterViewInit {
+export class PatronComponent implements OnInit {
patronId: number;
patronTab = 'search';
});
}
- ngAfterViewInit() {
- }
-
// Navigate, opening new tabs when requested via control-click.
// NOTE: The nav items have routerLinks, but for some reason,
// control-click on the links does not open them in a new tab.