add recent period to recent button label
This commit is contained in:
parent
5f9acc8a9e
commit
1eb035d60b
@ -416,10 +416,15 @@ export class DossierOverviewScreenComponent
|
||||
|
||||
private _computeQuickFilters() {
|
||||
if (this.allEntities.filter(this.recentlyModifiedChecker).length > 0) {
|
||||
const recentPeriodInHours = this._appConfigService.getConfig('RECENT_PERIOD_IN_HOURS');
|
||||
const recentButtonText = this._translateService.instant(
|
||||
'dossier-overview.quick-filters.recent',
|
||||
{ hours: recentPeriodInHours }
|
||||
);
|
||||
this.quickFilters = [
|
||||
{
|
||||
key: this.user.id,
|
||||
label: 'dossier-overview.quick-filters.recent',
|
||||
label: recentButtonText,
|
||||
required: true,
|
||||
checker: this.recentlyModifiedChecker
|
||||
}
|
||||
|
||||
@ -336,7 +336,7 @@
|
||||
"error": "Failed to schedule files for reanalysis. Please try again."
|
||||
},
|
||||
"quick-filters": {
|
||||
"recent": "Recent",
|
||||
"recent": "Recent ({{hours}} h)",
|
||||
"assigned-to-me": "Assigned to me",
|
||||
"unassigned": "Unassigned",
|
||||
"assigned-to-others": "Assigned to others"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user