Cache redesign part 1, and add support for alternative links

This commit is contained in:
Art Lowel
2020-12-11 14:18:44 +01:00
parent f4853972cc
commit 4e18fa35ca
522 changed files with 7537 additions and 6933 deletions

View File

@@ -103,7 +103,7 @@ export class SubmissionEditComponent implements OnDestroy, OnInit {
this.changeDetectorRef.detectChanges();
}
} else {
if (submissionObjectRD.error.statusCode === 404) {
if (submissionObjectRD.statusCode === 404) {
// redirect to not found page
this.router.navigate(['/404'], { skipLocationChange: true });
}