Skip to content

Commit

Permalink
feat: complete renaming (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Sep 20, 2024
1 parent aaa2d9e commit da9640a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ the detailed section referring to by linking pull requests or issues.

#### Patch

- Fixed gaps in renaming to "Data Offer"
([#831](https://github.com/sovity/edc-ui/issues/831))
- Replaced hints with info boxes in On Request data source
([#820](https://github.com/sovity/edc-ui/issues/820))
- Fixed cropping of Contract Offer Ids on catalog browser page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,18 @@ export class ContractDefinitionEditorDialog implements OnInit, OnDestroy {
)
.subscribe({
complete: () => {
this.notificationService.showInfo(
'Successfully created contract definition.',
);
this.notificationService.showInfo('Successfully created data offer.');
this.close({refreshList: true});
},
error: (error) => {
if (error.status == 409) {
this.notificationService.showError(
'Contract Definition ID already taken.',
);
this.notificationService.showError('Data offer ID already taken.');
} else if (error.status >= 500) {
this.notificationService.showError(
'Error creating contract definition: ' +
(error?.error?.message ?? '???'),
'Error creating data offer: ' + (error?.error?.message ?? '???'),
);
}
console.error('Error creating contract definition!', error);
console.error('Error creating data offer!', error);
},
});
}
Expand Down

0 comments on commit da9640a

Please sign in to comment.