diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e1999fa..9e2aba9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/app/routes/connector-ui/contract-definition-page/contract-definition-editor-dialog/contract-definition-editor-dialog.component.ts b/src/app/routes/connector-ui/contract-definition-page/contract-definition-editor-dialog/contract-definition-editor-dialog.component.ts index ca55239c..e0e9ddf8 100644 --- a/src/app/routes/connector-ui/contract-definition-page/contract-definition-editor-dialog/contract-definition-editor-dialog.component.ts +++ b/src/app/routes/connector-ui/contract-definition-page/contract-definition-editor-dialog/contract-definition-editor-dialog.component.ts @@ -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); }, }); }