Skip to content

Commit

Permalink
Merged in DSC-1279 (pull request DSpace#914)
Browse files Browse the repository at this point in the history
[DSC-1279] Show success notification when state is SuccessStale

Approved-by: Giuseppe Digilio
  • Loading branch information
Davide Negretti authored and atarix83 committed Oct 16, 2023
2 parents e9b5cc8 + 5d96a55 commit 13c6d28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class OpenaireBrokerEventsComponent implements OnInit {
this.subs.push(
this.openaireBrokerEventRestService.patchEvent(action, eventData.event, eventData.reason).pipe(getFirstCompletedRemoteData())
.subscribe((rd: RemoteData<OpenaireBrokerEventObject>) => {
if (rd.isSuccess && rd.statusCode === 200) {
if (rd.hasSucceeded) {
this.notificationsService.success(
this.translateService.instant('openaire.broker.event.action.saved')
);
Expand Down

0 comments on commit 13c6d28

Please sign in to comment.