forked from hazza/dspace-angular
fixing lint issues
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user