Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
8a39be78
Commit
8a39be78
authored
May 18, 2018
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix statistic type selection in metric view for MS Edge
parent
bde50b28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
metric.vue
...r-ui/src/main/frontend/views/instances/metrics/metric.vue
+3
-2
No files found.
spring-boot-admin-server-ui/src/main/frontend/views/instances/metrics/metric.vue
View file @
8a39be78
...
...
@@ -24,7 +24,8 @@
:key=
"`head-$
{statistic}`">
<span
v-text=
"statistic"
/>
<div
class=
"select is-small is-pulled-right"
>
<select
:value=
"statisticTypes[statistic]"
@
input=
"$emit('type-select', metricName, statistic, $event.target.value)"
>
<select
:value=
"statisticTypes[statistic]"
@
change=
"$emit('type-select', metricName, statistic, $event.target.value)"
>
<option
:value=
"undefined"
>
-
</option>
<option
value=
"integer"
>
Integer
</option>
<option
value=
"float"
>
Float
</option>
...
...
@@ -110,7 +111,7 @@
if
(
!
measurement
)
{
return
undefined
;
}
const
type
=
this
.
statisticTypes
[
statistic
]
const
type
=
this
.
statisticTypes
[
statistic
]
;
switch
(
type
)
{
case
'integer'
:
return
measurement
.
value
.
toFixed
(
0
);
...
...
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