[develop-filters | DONE | CHANGED]: searchFilter.component.ts: In method "_formatTitle()", remove number of filter values from filter name.

This commit is contained in:
Konstantina Galouni 2023-12-14 14:16:46 +02:00
parent 84bf8cdebe
commit 01eabb74f3
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ export class SearchFilterComponent implements OnInit, OnChanges {
}
public _formatTitle(title, length) {
return (((title + " (" + length + ")").length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - (" (" + length + ")").length - ('...').length)) + "...") : title) + " (" + (length > 95 ? "100" : length) + ")";
// return (((title + " (" + length + ")").length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - (" (" + length + ")").length - ('...').length)) + "...") : title) + " (" + (length > 95 ? "100" : length) + ")";
return (((title).length > this._maxCharacters) ? (title.substring(0, (this._maxCharacters - ('...').length)) + "...") : title);
}
public _formatName(value) {