mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
readding wrongly removed check: (#1867)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
This commit is contained in:
parent
c0bcad9990
commit
42463179b5
@ -79,7 +79,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.alfrescoApiService.getInstance().on('error', (error: { status: number; response: any }) => {
|
this.alfrescoApiService.getInstance().on('error', (error: { status: number; response: any }) => {
|
||||||
if (error.status === 401) {
|
if (error.status === 401 && !this.alfrescoApiService.isExcludedErrorListener(error?.response?.req?.url)) {
|
||||||
if (!this.authenticationService.isLoggedIn()) {
|
if (!this.authenticationService.isLoggedIn()) {
|
||||||
this.store.dispatch(new CloseModalDialogsAction());
|
this.store.dispatch(new CloseModalDialogsAction());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user