diff --git a/dmp-frontend/src/app/datasets/dataset.component.ts b/dmp-frontend/src/app/datasets/dataset.component.ts index 4341f27c4..2bb5d26b8 100644 --- a/dmp-frontend/src/app/datasets/dataset.component.ts +++ b/dmp-frontend/src/app/datasets/dataset.component.ts @@ -39,6 +39,7 @@ export class DatasetsComponent implements OnInit { datasetResource: DataTableResource; @Input() datasetCount = 0; @Input() dmpIdforDatasets: string; + @Input() dmpLabelforDatasets: string; dataset: any; //@ViewChild(DataTable) projectsTable; @@ -91,7 +92,7 @@ export class DatasetsComponent implements OnInit { dt.id = resp.id; dt.name = resp.label; dt.uriDataset = resp.uri; - dt.dmp = resp.dmp.label; + dt.dmp = this.dmpLabelforDatasets; //to pairnw apo to datatable tou dmp dt.profile = resp.profile.label; dt.profileId = resp.profile.id; this.datasets.push(dt); diff --git a/dmp-frontend/src/app/datasets/dataset.html b/dmp-frontend/src/app/datasets/dataset.html index d01d201a9..7d9ef8edd 100644 --- a/dmp-frontend/src/app/datasets/dataset.html +++ b/dmp-frontend/src/app/datasets/dataset.html @@ -26,7 +26,7 @@ Edit @@ -43,7 +43,7 @@ - + + - + -Sign out +Sign out \ No newline at end of file diff --git a/dmp-frontend/src/app/services/rest-base.ts b/dmp-frontend/src/app/services/rest-base.ts index c39a21aa5..efa349361 100644 --- a/dmp-frontend/src/app/services/rest-base.ts +++ b/dmp-frontend/src/app/services/rest-base.ts @@ -16,16 +16,16 @@ export class RestBase { } - protocol: string = "http"; + /* protocol: string = "http"; hostname: string ="dl010.madgik.di.uoa.gr" ;//"localhost";//"dl010.madgik.di.uoa.gr";// port: number = 8080;//8080;// - webappname: string = "dmp-backend";//"dmp-backend-new";// + webappname: string = "dmp-backend";//"dmp-backend-new";//*/ - /*protocol: string = "http"; + protocol: string = "http"; hostname: string = "dionysus.di.uoa.gr" ; port: number = 7070; - webappname: string = "dmp-backend";*/ + webappname: string = "dmp-backend"; proxyPath : string = this.protocol+"://"+this.hostname+":"+this.port+"/"+this.webappname+"/proxy/"; diff --git a/dmp-frontend/src/app/services/server.service.ts b/dmp-frontend/src/app/services/server.service.ts index f3162e85a..63184c66c 100644 --- a/dmp-frontend/src/app/services/server.service.ts +++ b/dmp-frontend/src/app/services/server.service.ts @@ -110,7 +110,7 @@ export class ServerService { } public getDatasetForDmp(data:any){ - return this.restBase.post("/dmp/getdatasets", data); + return this.restBase.post("dmp/getdatasets", data); } public createDatasetForDmp(data:any){