Project

General

Profile

« Previous | Next » 

Revision 60937

fixed comments bug on interfaces

View differences:

register-new-datasource.component.ts
241 241
      from(this.repoInterfaces).pipe(
242 242
        concatMap(intrf => {
243 243
          if (intrf.id) {
244
            const comments = this.interfaceComments.getComments();
245
            return this.repoService.updateInterface(this.repo.id, this.repo.registeredBy, comments, intrf);
244
            // console.log('comments', intrf.comments);
245
            return this.repoService.updateInterface(this.repo.id, this.repo.registeredBy, intrf.comments, intrf);
246 246
          } else {
247
            const comments = this.interfaceComments.getComments();
248
            return this.repoService.addInterface(this.repo.datasourceType, this.repo.id, this.repo.registeredBy, comments, intrf);
247
            // console.log('comments', intrf.comments);
248
            return this.repoService.addInterface(this.repo.datasourceType, this.repo.id, this.repo.registeredBy, intrf.comments, intrf);
249 249
          }
250 250
        })
251 251
      ).subscribe(

Also available in: Unified diff