diff --git a/src/main/webapp/app/pages/companyPage/CompanyPage.tsx b/src/main/webapp/app/pages/companyPage/CompanyPage.tsx index 8c60acd9d..ea479dc0c 100644 --- a/src/main/webapp/app/pages/companyPage/CompanyPage.tsx +++ b/src/main/webapp/app/pages/companyPage/CompanyPage.tsx @@ -292,7 +292,7 @@ export default class CompanyPage extends React.Component { } @action.bound - showConfirmModal(event: any, value: any) { + onValidFormSubmit(event: any, value: any) { this.formValues = value; // Show warnings when license status is being changed and there are company users if ( @@ -304,6 +304,7 @@ export default class CompanyPage extends React.Component { LICENSE_STATUS_UPDATE_MESSAGES[this.company.licenseStatus][ this.selectedLicenseStatus ]; + this.simpleConfirmModalType = SimpleConfirmModalType.UPDATE_COMPANY; } else { this.onConfirmUpdateCompany(); } @@ -539,7 +540,7 @@ export default class CompanyPage extends React.Component { { if (event.which === 13) { event.preventDefault();