Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
1800646c
Unverified
Commit
1800646c
authored
Apr 19, 2021
by
Lijiaoa
Committed by
GitHub
Apr 19, 2021
Browse files
fix update experiment params issue on view mode (#3546)
parent
67e23897
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ts/webui/src/components/overview/count/EditExperimentParam.tsx
...bui/src/components/overview/count/EditExperimentParam.tsx
+1
-1
ts/webui/src/static/style/overview/count.scss
ts/webui/src/static/style/overview/count.scss
+1
-1
No files found.
ts/webui/src/components/overview/count/EditExperimentParam.tsx
View file @
1800646c
...
...
@@ -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
{
...
...
ts/webui/src/static/style/overview/count.scss
View file @
1800646c
...
...
@@ -78,7 +78,7 @@ $margin: 24px;
}
&
-dropdown
{
width
:
6
5
px
;
width
:
6
0
px
;
display
:
inline-block
;
position
:
relative
;
top
:
13px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment