diff --git a/apps/red-ui/src/app/modules/dossier/screens/dossier-overview-screen/dossier-overview-screen.component.ts b/apps/red-ui/src/app/modules/dossier/screens/dossier-overview-screen/dossier-overview-screen.component.ts index 2722a2092..7ca99eca1 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/dossier-overview-screen/dossier-overview-screen.component.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/dossier-overview-screen/dossier-overview-screen.component.ts @@ -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 } diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json index faf709953..84b4c1d60 100644 --- a/apps/red-ui/src/assets/i18n/en.json +++ b/apps/red-ui/src/assets/i18n/en.json @@ -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"