[ACS-4985] Updated Labels for 'In last' date range option

This commit is contained in:
swapnil.verma
2023-07-27 11:14:48 +05:30
committed by Jatin_Chugh
parent 164a5a5e4a
commit ccb4b4c52d
@@ -213,7 +213,7 @@ export class SearchDateRangeAdvancedComponent implements SearchWidget, OnInit, O
switch (this.dateRangeTypeValue) {
case DateRangeType.IN_LAST:
if (this.hasValidValue()) {
displayLabel = `${this.translate.instant('SEARCH.DATE_RANGE_ADVANCED.OPTIONS.IN_LAST')} ${this.inLastValue} ${this.translate.instant(`SEARCH.DATE_RANGE_ADVANCED.IN_LAST_LABELS.${this.inLastValueType}`)}`;
displayLabel = this.translate.instant(`SEARCH.DATE_RANGE_ADVANCED.IN_LAST_DISPLAY_LABELS.${this.inLastValueType}`, { value: this.inLastValue });
}
break;
case DateRangeType.BETWEEN: