|
|
@ -272,7 +272,7 @@ async function getSubProject() { |
|
|
|
try { |
|
|
|
const params = { param: { id: projectInfo.value.id } }; |
|
|
|
const data = await getExperimentation(params); |
|
|
|
store.commit('projects/setExpreimentStatus', data.status); |
|
|
|
store.commit('projects/setExpreimentStatus', data ? data.status : 0); |
|
|
|
} catch (error) { |
|
|
|
message.info(error); |
|
|
|
throw new Error(error); |
|
|
|