Skip to content

Commit

Permalink
Fix browse by visual bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Vannerum committed Sep 29, 2023
1 parent 8045e4c commit d0b4e15
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 d0b4e15

Please sign in to comment.