Revision 62559
Added by John Balasis about 1 year ago
register-new-datasource.component.ts | ||
---|---|---|
246 | 246 |
concatMap(intrf => { |
247 | 247 |
if (intrf.id) { |
248 | 248 |
// console.log('comments', intrf.comments); |
249 |
return this.repoService.updateInterface(this.repo.id, this.repo.registeredby, intrf.comments, intrf, intrf.desiredCompatibilityLevel); |
|
249 |
return this.repoService.updateInterface(this.repo.id, this.repo.registeredby, intrf.comments, intrf, |
|
250 |
intrf.desiredCompatibilityLevel); |
|
250 | 251 |
} else { |
251 | 252 |
// console.log('comments', intrf.comments); |
252 |
return this.repoService.addInterface(this.repo.eoscDatasourceType, this.repo.id, this.repo.registeredby, intrf.comments, intrf, intrf.desiredCompatibilityLevel); |
|
253 |
return this.repoService.addInterface(this.repo.eoscDatasourceType, this.repo.id, this.repo.registeredby, |
|
254 |
intrf.comments, intrf, intrf.desiredCompatibilityLevel); |
|
253 | 255 |
} |
254 | 256 |
}) |
255 | 257 |
).subscribe( |
Also available in: Unified diff
finaly after so much rage it works probaply...