Skip to content

Commit ea30453

Browse files
committed
fix: TT-26-Warn-of-unsaved-changes-btn-cancel
1 parent 6e5d957 commit ea30453

File tree

1 file changed

+1
-0
lines changed
  • src/app/modules/customer-management/components/customer-info/components/create-customer

1 file changed

+1
-0
lines changed

src/app/modules/customer-management/components/customer-info/components/create-customer/create-customer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class CreateCustomerComponent implements OnInit, OnDestroy {
9696
this.customerForm.reset();
9797
this.store.dispatch(new ResetCustomerToEdit());
9898
this.closeCustomerComponent.emit(false);
99+
this.hasChangedEvent.emit(this.hasChange = false);
99100
}
100101

101102
onInputChangeCustomer(searchValue: string): void {

0 commit comments

Comments
 (0)