Unverified Commit 1800646c authored by Lijiaoa's avatar Lijiaoa Committed by GitHub
Browse files

fix update experiment params issue on view mode (#3546)

parent 67e23897
......@@ -114,6 +114,7 @@ export const EditExperimentParam = (): any => {
if (res.status === 200) {
showMessageInfo(`Successfully updated experiment's ${field}`, 'success');
changeMaxDurationUnit(unit);
updateOverviewPage();
}
} catch (error) {
if (error.response && error.response.data.error) {
......@@ -128,7 +129,6 @@ export const EditExperimentParam = (): any => {
setEditValInput(defaultVal);
}
showPencil();
updateOverviewPage();
}
function cancelEdit(): void {
......
......@@ -78,7 +78,7 @@ $margin: 24px;
}
&-dropdown {
width: 65px;
width: 60px;
display: inline-block;
position: relative;
top: 13px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment