1
0

fixing lint issues

This commit is contained in:
cris
2023-03-09 15:45:55 +00:00
parent e2cf97f8c1
commit 293692f1d2

View File

@@ -152,13 +152,13 @@ export class BrowseByMetadataPageComponent implements OnInit, OnDestroy {
this.browseId = params.id || this.defaultBrowseId; this.browseId = params.id || this.defaultBrowseId;
this.authority = params.authority; this.authority = params.authority;
if(typeof params.value === "string"){ if (typeof params.value === 'string'){
this.value = params.value.trim(); this.value = params.value.trim();
} }
this.value = +params.value || params.value || ''; this.value = +params.value || params.value || '';
if(typeof params.startsWith === "string"){ if (typeof params.startsWith === 'string'){
this.startsWith = params.startsWith.trim(); this.startsWith = params.startsWith.trim();
} }