File tree 1 file changed +3
-2
lines changed
src/main/webapp/app/pages/companyPage
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ export default class CompanyPage extends React.Component<ICompanyPage> {
292
292
}
293
293
294
294
@action . bound
295
- showConfirmModal ( event : any , value : any ) {
295
+ onValidFormSubmit ( event : any , value : any ) {
296
296
this . formValues = value ;
297
297
// Show warnings when license status is being changed and there are company users
298
298
if (
@@ -304,6 +304,7 @@ export default class CompanyPage extends React.Component<ICompanyPage> {
304
304
LICENSE_STATUS_UPDATE_MESSAGES [ this . company . licenseStatus ] [
305
305
this . selectedLicenseStatus
306
306
] ;
307
+ this . simpleConfirmModalType = SimpleConfirmModalType . UPDATE_COMPANY ;
307
308
} else {
308
309
this . onConfirmUpdateCompany ( ) ;
309
310
}
@@ -539,7 +540,7 @@ export default class CompanyPage extends React.Component<ICompanyPage> {
539
540
</ Col >
540
541
</ Row >
541
542
< AvForm
542
- onValidSubmit = { this . showConfirmModal }
543
+ onValidSubmit = { this . onValidFormSubmit }
543
544
onKeyPress = { ( event : any ) => {
544
545
if ( event . which === 13 ) {
545
546
event . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments