Renamed stuff

This commit is contained in:
Timo 2020-12-08 09:14:10 +02:00
parent ba98803781
commit ecc9d178a2
3 changed files with 7 additions and 7 deletions

View File

@ -13,9 +13,9 @@
align-items: center; align-items: center;
padding-top: 50px; padding-top: 50px;
&:first-child { //&:first-child {
border-right: 1px solid $separator; // border-right: 1px solid $separator;
} //}
.project-stats-container { .project-stats-container {
.project-stats-item { .project-stats-item {

View File

@ -192,7 +192,7 @@ export class AppStateService {
} }
if (file.status === 'PROCESSING') { if (file.status === 'PROCESSING') {
const delta = now - file.newestDate.getTime(); const delta = now - file.newestDate.getTime();
if (delta > 1000 * 60 * 5) { if (delta > 1000 * 60 * 2) {
console.log('Auto-Reanalyse file because of timeout'); console.log('Auto-Reanalyse file because of timeout');
this._reanalyseFileInCurrentSessionIfNeeded(project, file); this._reanalyseFileInCurrentSessionIfNeeded(project, file);
} }
@ -207,9 +207,9 @@ export class AppStateService {
sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`); sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`);
} else { } else {
const now = new Date().getTime(); const now = new Date().getTime();
const lastAttempt = new Date(result).getTime(); const lastAttempt = new Date(parseInt(result, 10)).getTime();
const delta = now - lastAttempt; const delta = now - lastAttempt;
if (delta > 1000 * 60 * 5) { if (delta > 1000 * 60 * 2) {
this._reanalysisControllerService.reanalyzeFile(project.projectId, file.fileId).subscribe(() => {}); this._reanalysisControllerService.reanalyzeFile(project.projectId, file.fileId).subscribe(() => {});
sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`); sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`);
} }

View File

@ -369,7 +369,7 @@
"hide-comments": "Hide", "hide-comments": "Hide",
"cancel": "Cancel" "cancel": "Cancel"
}, },
"error": "Failure", "error": "Re-processing",
"unassigned": "Unassigned", "unassigned": "Unassigned",
"under-review": "Under Review", "under-review": "Under Review",
"under-approval": "Under Approval", "under-approval": "Under Approval",