Revision 62388
Added by Andreas Mantas over 1 year ago
sources-update-repo.component.ts | ||
---|---|---|
61 | 61 |
} else if (this.repo.id.includes('aggregator')) { |
62 | 62 |
this.mode = 'aggregator'; |
63 | 63 |
} |
64 |
this.logoURL = this.repo.logoUrl;
|
|
64 |
this.logoURL = this.repo.logourl;
|
|
65 | 65 |
this.getRepoInterfaces(); |
66 | 66 |
} |
67 | 67 |
|
... | ... | |
69 | 69 |
r => { |
70 | 70 |
this.repo = r; |
71 | 71 |
if (this.repo) { |
72 |
this.logoURL = this.repo.logoUrl;
|
|
72 |
this.logoURL = this.repo.logourl;
|
|
73 | 73 |
this.getRepoInterfaces(); |
74 | 74 |
} |
75 | 75 |
} |
... | ... | |
145 | 145 |
false, i, |
146 | 146 |
{ |
147 | 147 |
id: this.repo.id, |
148 |
datasourceType: this.repo.datasourceType,
|
|
148 |
datasourceType: this.repo.eoscDatasourceType,
|
|
149 | 149 |
datasourceClass: this.repo.eoscDatasourceType, |
150 |
registeredBy: this.repo.registeredBy
|
|
150 |
registeredBy: this.repo.registeredby
|
|
151 | 151 |
}, |
152 | 152 |
this.repoInterfaces[i] |
153 | 153 |
]); |
... | ... | |
157 | 157 |
false, 0, |
158 | 158 |
{ |
159 | 159 |
id: this.repo.id, |
160 |
datasourceType: this.repo.datasourceType,
|
|
160 |
datasourceType: this.repo.eoscDatasourceType,
|
|
161 | 161 |
datasourceClass: this.repo.eoscDatasourceType, |
162 |
registeredBy: this.repo.registeredBy
|
|
162 |
registeredBy: this.repo.registeredby
|
|
163 | 163 |
} |
164 | 164 |
]); |
165 | 165 |
} |
... | ... | |
168 | 168 |
addInterfaceToList(intrf?: RepositoryInterface) { |
169 | 169 |
const curIndex = this.dataForInterfaceComp.length; |
170 | 170 |
const curRepoInfo = { |
171 |
id: this.repo.id, datasourceType: this.repo.datasourceType,
|
|
172 |
datasourceClass: this.repo.eoscDatasourceType, registeredBy: this.repo.registeredBy
|
|
171 |
id: this.repo.id, datasourceType: this.repo.eoscDatasourceType,
|
|
172 |
datasourceClass: this.repo.eoscDatasourceType, registeredBy: this.repo.registeredby
|
|
173 | 173 |
}; |
174 | 174 |
if (intrf) { |
175 | 175 |
this.dataForInterfaceComp.push([false, curIndex, curRepoInfo, intrf]); |
... | ... | |
204 | 204 |
} |
205 | 205 |
|
206 | 206 |
updatedLogoUrl(event: any) { |
207 |
this.repo.logoUrl = this.logoURL;
|
|
207 |
this.repo.logourl = this.logoURL;
|
|
208 | 208 |
this.datasourceUpdateForm.updateGroup.get('logoUrl').setValue(this.logoURL); |
209 | 209 |
this.datasourceUpdateForm.updateRepo(); |
210 | 210 |
|
Also available in: Unified diff
refactor. fix getDatasourceClasses and corresponding dropdown. fix issn fields