Revision 57088
Added by Stefania Martziou over 4 years ago
register-existing-datasource.component.ts | ||
---|---|---|
103 | 103 |
} |
104 | 104 |
|
105 | 105 |
moveAStep() { |
106 |
window.scrollTo(0, 0); |
|
106 | 107 |
this.errorMessage = ''; |
107 | 108 |
if (this.currentStep === 0) { |
108 | 109 |
if (this.datasourcesByCountry.goToNextStep()) { |
... | ... | |
131 | 132 |
} |
132 | 133 |
|
133 | 134 |
moveBackAStep() { |
135 |
window.scrollTo(0, 0); |
|
134 | 136 |
this.errorMessage = ''; |
135 | 137 |
if (this.currentStep === 1) { |
136 | 138 |
this.repoInterfaces = []; |
... | ... | |
144 | 146 |
} |
145 | 147 |
|
146 | 148 |
addInterfaceToList(intrf?: RepositoryInterface) { |
149 |
|
|
150 |
console.log('clicked add interface to list'); |
|
151 |
|
|
147 | 152 |
const curIndex = this.dataForInterfaceComp.length; |
148 | 153 |
const curRepoInfo = { id: this.repo.id, datasourceType: this.repo.datasourceType, |
149 | 154 |
datasourceClass: this.repo.datasourceClass, registeredBy: this.repo.registeredBy }; |
Also available in: Unified diff
First commit for the new UI theme