mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
add clear error in test when disk quota is reached (#3978)
This commit is contained in:
parent
3da80bf366
commit
7d47ede2a5
@ -257,5 +257,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GROUP-TITLE1-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION ONE",
|
"GROUP-TITLE1-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION ONE",
|
||||||
"GROUP-TITLE2-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION TWO"
|
"GROUP-TITLE2-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION TWO",
|
||||||
|
"ERROR_CONTENT": {
|
||||||
|
"507": {
|
||||||
|
"TITLE": "ACS Disk full",
|
||||||
|
"DESCRIPTION": "Content exceeds overall storage quota limit configured for the network or system",
|
||||||
|
"SECONDARY_BUTTON": {
|
||||||
|
"TEXT": ""
|
||||||
|
},
|
||||||
|
"RETURN_BUTTON": {
|
||||||
|
"TEXT": "Back to home"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,13 @@ export class AppComponent implements OnInit {
|
|||||||
this.router.navigate(['/login']);
|
this.router.navigate(['/login']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (error.status === 507) {
|
||||||
|
if (!this.authenticationService.isLoggedIn()) {
|
||||||
|
this.dialogRef.closeAll();
|
||||||
|
this.router.navigate(['error/507']);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user