Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public handleRoutingError(rejection: Rejection): void {
this.routeCount--;
this.setRoutingFlag();
const cancelled = rejection.type === RejectType.ABORTED;
document.title = cancelled ? this.previousPageTitle : 'Spinnaker: Error';
}
public handleRoutingError(rejection: Rejection): void {
this.routeCount--;
this.setRoutingFlag();
const cancelled = rejection.type === RejectType.ABORTED;
document.title = cancelled ? this.previousPageTitle : 'Spinnaker: Error';
}