File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -45,18 +45,17 @@ export class CatalogBrowserService {
4545 datasets = [ datasets ] ;
4646 }
4747
48- for ( let i = 0 ; i < datasets . length ; i ++ ) {
49- const dataSet : any = datasets [ i ] ;
48+ for ( const dataset of datasets ) {
5049 const properties : { [ key : string ] : string ; } = {
51- id : dataSet [ "id" ] ,
52- name : dataSet [ "name" ] ,
53- version : dataSet [ "version" ] ,
54- type : dataSet [ "type" ] ,
55- contentType : dataSet [ "contenttype" ]
50+ id : dataset [ "id" ] ,
51+ name : dataset [ "name" ] ,
52+ version : dataset [ "version" ] ,
53+ type : dataset [ "type" ] ,
54+ contentType : dataset [ "contenttype" ]
5655 }
57- const assetId = dataSet [ "@id" ] ;
56+ const assetId = dataset [ "@id" ] ;
5857
59- const hasPolicy = dataSet [ "odrl:hasPolicy" ] ;
58+ const hasPolicy = dataset [ "odrl:hasPolicy" ] ;
6059 const policy : PolicyInput = {
6160 "@type" : "set" ,
6261 "@context" : "http://www.w3.org/ns/odrl.jsonld" ,
You can’t perform that action at this time.
0 commit comments