Project

General

Profile

« Previous | Next » 

Revision 50977

finalized sources register and update

View differences:

sr-data.component.html
38 38
            <div>
39 39
              <register-datasource-shareable *ngIf="showRepositories"
40 40
                                         #datasourcesByCountry
41
                                         [mode]="'re3data'"></register-datasource-shareable>
41
                                         [mode]="'re3data'"
42
                                         (emitRepoId)="getRepoId($event)"></register-datasource-shareable>
42 43

  
43 44
              <datasource-info-form *ngIf="showForm"
44 45
                                    #updateDatasource
45
                                    [datasourceId]="datasourceId"></datasource-info-form>
46
                                    [datasourceId]="datasourceId"
47
                                    (emittedInfo)="getCurrentRepo($event)"></datasource-info-form>
46 48

  
47
              <div *ngIf="showInterfaces">
49
              <div *ngIf="showInterfaces && repo && repoInterfaces">
48 50
                <form [formGroup]="group">
49 51
                  <form-repeat [component]="updateDatasourceInterfaces"
50 52
                               [parentGroup]="group"
51 53
                               [description]="interfaceFormDesc"
52 54
                               [name]="'repository-interfaces'"
53
                               [data]="repoInterfaces">
55
                               [data]="repoInterfaces"
56
                               [otherData]="repo">
54 57
                  </form-repeat>
55 58
                </form>
56 59
              </div>

Also available in: Unified diff