Skip to content

Commit

Permalink
Fix browse by visual bug
Browse files Browse the repository at this point in the history
(cherry picked from commit d0b4e15)
  • Loading branch information
Jens Vannerum authored and github-actions[bot] committed Oct 11, 2023
1 parent c03cd03 commit 15d2880
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ export class BrowseByMetadataPageComponent implements OnInit, OnDestroy {
this.value = '';
}

if (typeof params.startsWith === 'string'){
if (params.startsWith === undefined || params.startsWith === '') {
this.startsWith = undefined;
}

if (typeof params.startsWith === 'string'){
this.startsWith = params.startsWith.trim();
}

Expand Down

0 comments on commit 15d2880

Please sign in to comment.