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
27d7ab9c
Commit
27d7ab9c
authored
May 27, 2019
by
Lijiao
Committed by
chicm-ms
May 27, 2019
Browse files
fix bug of default metric decimal (#1113)
parent
966041b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/webui/src/components/public-child/IntermediateVal.tsx
src/webui/src/components/public-child/IntermediateVal.tsx
+5
-6
No files found.
src/webui/src/components/public-child/IntermediateVal.tsx
View file @
27d7ab9c
...
@@ -28,12 +28,11 @@ class IntermediateVal extends React.Component<IntermediateValProps, {}> {
...
@@ -28,12 +28,11 @@ class IntermediateVal extends React.Component<IntermediateValProps, {}> {
if
(
wei
>
6
)
{
if
(
wei
>
6
)
{
result
=
`
${
lastVal
.
toFixed
(
6
)}
`
;
result
=
`
${
lastVal
.
toFixed
(
6
)}
`
;
}
}
if
(
status
===
'
SUCCEEDED
'
)
{
}
result
=
`
${
lastVal
.
toFixed
(
6
)}
(FINAL)`
;
if
(
status
===
'
SUCCEEDED
'
)
{
}
else
{
result
=
`
${
result
}
(FINAL)`
;
result
=
`
${
lastVal
.
toFixed
(
6
)}
(LATEST)`
;
}
else
{
}
result
=
`
${
result
}
(LATEST)`
;
}
}
}
else
{
}
else
{
result
=
'
--
'
;
result
=
'
--
'
;
...
...
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