We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 155f3f9 commit 58a3ec3Copy full SHA for 58a3ec3
1 file changed
src/app/item-page/orcid-page/orcid-sync-settings/orcid-sync-settings.component.ts
@@ -156,8 +156,7 @@ export class OrcidSyncSettingsComponent implements OnInit {
156
}
157
}),
158
).subscribe((remoteData: RemoteData<ResearcherProfile>) => {
159
- // hasSucceeded is true if the response is success or successStale
160
- if (remoteData.hasSucceeded) {
+ if (remoteData.isSuccess) {
161
this.notificationsService.success(this.translateService.get(this.messagePrefix + '.synchronization-settings-update.success'));
162
this.settingsUpdated.emit();
163
} else {
0 commit comments