mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-11306] upgrade frontend to angular 20 (#5122)
* [ACS-11306] Upgrade Angular to 20 version * [ACS-11306] Reverted unwanted changes * [ACS-11306] Reverted unwanted changes * [ACS-11306] Reverted unwanted changes * [ACS-11306] Upgrade ngrx to 20 version * [ACS-11306] Updated eslintrc * [ACS-11306] Added replacement for quotes related eslint rule * [ACS-11306] Fixed eslint issues related with unused error and optional chaining * [ACS-11306] Corrected versions in projects * [ACS-11306] Fixed unit tests * [ACS-11306] Updated stylelint version * [link-adf:chore/ng20][ACS-11306] Test * [link-adf:chore/ng20][ACS-11306] Changed tsconfig * [link-adf:chore/ng20][ACS-11306] Test * [link-adf:chore/ng20][ACS-11306] Test * [link-adf:chore/ng20][ACS-11306] Removed redundant line from tsconfig * [link-adf:chore/ng20][ACS-11306] Updated package-lock.json * [link-adf:chore/ng20][ACS-11306] Fixed stylelint issue * [link-adf:chore/ng20] [ACS-11306] Fix colors of text button, dialog text, form field placeholder and button styling * [link-adf:chore/ng20] [ACS-11306] Fix create from template dialog confirm button color * [link-adf:chore/ng20] [ACS-11306] Fix add permission dialog button colors * [link-adf:chore/ng20] [ACS-11306] Fix login error icon color and alignment * [link-adf:chore/ng20][ACS-11306] Updated package-lock.json * [ACS-11306] Update package.json to use ADF with Angular 20 --------- Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
This commit is contained in:
co-authored by
g-jaskowski
parent
e4d5f9c9ad
commit
745cd14024
@@ -155,7 +155,7 @@ export class PreviewComponent extends PageComponent implements OnInit {
|
||||
}
|
||||
await this.router.navigate([this.previewLocation, id]);
|
||||
} catch (err) {
|
||||
if (!err || err.status !== 401) {
|
||||
if (err?.status !== 401) {
|
||||
await this.router.navigate([this.previewLocation, id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user