refresh company list after create company
This commit is contained in:
@@ -105,7 +105,9 @@ const createCompany = function () {
|
||||
// ----------------------
|
||||
// props that are passed to component instance
|
||||
}).onOk(data => {
|
||||
CreateCompany(data.name, data.memberNumber, data.username, data.password)
|
||||
CreateCompany(data.name, data.memberNumber, data.username, data.password).then(()=>{
|
||||
getCompanies()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user