- getitng company ID from appl data, not the one chosen in topbar;
This commit is contained in:
@@ -299,7 +299,7 @@ const BandoApplication = () => {
|
||||
setApplicationStatus(data.data.applicationStatus)
|
||||
setActiveStep(data.data.currentStep);
|
||||
|
||||
const chosenCompanyId = storeGet.main.chosenCompanyId();
|
||||
const chosenCompanyId = data.data.companyId;
|
||||
const companies = storeGet.main.companies();
|
||||
const company = head(companies.filter(o => o.id === chosenCompanyId));
|
||||
let formDataInitial = {};
|
||||
|
||||
Reference in New Issue
Block a user