history fix and labels

This commit is contained in:
Timo Bejan 2021-08-13 16:17:10 +03:00
parent 13172a6a55
commit f8250d9267
2 changed files with 6 additions and 2 deletions

View File

@ -17,6 +17,10 @@ export class RouterHistoryService {
} }
navigateToLastDossiersScreen() { navigateToLastDossiersScreen() {
this._router.navigate([this._lastDossiersScreen]); if (this._router.url === this._lastDossiersScreen) {
this._router.navigate(['/main/dossiers']);
} else {
this._router.navigate([this._lastDossiersScreen]);
}
} }
} }

View File

@ -116,7 +116,7 @@
"label": "Accept Recommendation" "label": "Accept Recommendation"
}, },
"accept-suggestion": { "accept-suggestion": {
"label": "Approve and add to dictionary" "label": "Approve Suggestion"
}, },
"edit-reason": { "edit-reason": {
"label": "Edit Reason" "label": "Edit Reason"