Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('CustomerTableListComponent', () => {

it('Onclick Edit, if there are changes, the modal must be presented ', () => {
component.hasChange = true;
const expectMessage = 'You have changes in a client, do you want to discard them?';
const expectMessage = 'You have unsaved changes, do you want to discard them?';

component.editCustomer('1');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class CustomerListComponent implements OnInit, OnDestroy, AfterViewInit {
editCustomer(customerId: string) {
this.idToEdit = customerId;
if (this.hasChange) {
this.message = 'You have changes in a client, do you want to discard them?';
this.message = 'You have unsaved changes, do you want to discard them?';
this.showModal = true;
} else {
this.showCustomerForm = true;
Expand Down