Skip to content

Commit f09a26f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feature/DURACOM-131
2 parents efedd10 + b6dc8a8 commit f09a26f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/item-page/orcid-page/orcid-sync-settings/orcid-sync-settings.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ export class OrcidSyncSettingsComponent implements OnInit {
156156
}
157157
}),
158158
).subscribe((remoteData: RemoteData<ResearcherProfile>) => {
159-
if (remoteData.isSuccess) {
159+
// hasSucceeded is true if the response is success or successStale
160+
if (remoteData.hasSucceeded) {
160161
this.notificationsService.success(this.translateService.get(this.messagePrefix + '.synchronization-settings-update.success'));
161162
this.settingsUpdated.emit();
162163
} else {

0 commit comments

Comments
 (0)