Removed search on 404 & 500 replaced with page return
This commit is contained in:
parent
b888fb0193
commit
fd810c1279
4 changed files with 20 additions and 14 deletions
|
@ -1,10 +1,17 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
templateUrl: '500.component.html'
|
||||
})
|
||||
export class P500Component {
|
||||
|
||||
constructor() { }
|
||||
constructor(
|
||||
private location: Location
|
||||
) {
|
||||
}
|
||||
|
||||
}
|
||||
goBack(): void {
|
||||
this.location.back();
|
||||
}
|
||||
}
|
Reference in a new issue