Skip to content

Commit 5532624

Browse files
oscar-esciregithub-actions[bot]
authored andcommitted
Fix trailing spaces and removed console.log
(cherry picked from commit 2530845)
1 parent 4a608b1 commit 5532624

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/app/shared/object-list/search-result-list-element/search-result-list-element.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,11 @@ export class SearchResultListElementComponent<T extends SearchResult<K>, K exten
6666
let highlights: string[] = Metadata.allValues([this.object.hitHighlights], keyOrKeys);
6767
let removedHighlights: string[] = highlights.map(str => str.replace(/<\/?em>/g, ''));
6868
for (let i = 0; i < removedHighlights.length; i++) {
69-
let index = dsoMetadata.indexOf(removedHighlights[i]);
69+
let index = dsoMetadata.indexOf(removedHighlights[i]);
7070
if (index !== -1) {
7171
dsoMetadata[index] = highlights[i];
7272
}
7373
}
74-
console.log(dsoMetadata);
75-
console.log(highlights);
76-
console.log(removedHighlights);
7774
return dsoMetadata;
7875
}
7976

0 commit comments

Comments
 (0)