You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2022/04/23 06:38:22 UTC

[cloudstack] branch main updated: UI: Fix Usage Server stats date display (#6308)

This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new aef4916e1c UI: Fix Usage Server stats date display (#6308)
aef4916e1c is described below

commit aef4916e1c761937f2390ce3b5db8642df7dc311
Author: Nicolas Vazquez <ni...@gmail.com>
AuthorDate: Sat Apr 23 03:38:15 2022 -0300

    UI: Fix Usage Server stats date display (#6308)
---
 ui/src/views/infra/Metrics.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/infra/Metrics.vue b/ui/src/views/infra/Metrics.vue
index d243bbf707..5cd614472e 100644
--- a/ui/src/views/infra/Metrics.vue
+++ b/ui/src/views/infra/Metrics.vue
@@ -158,7 +158,7 @@ export default {
           metric.name = 'uptime in seconds'
           metric.value = map[key]
           array.push(metric)
-        } else if (key === 'collectiontime' || key === 'lastheartbeat' || key === 'lastsuccesfuljob') {
+        } else if (key === 'collectiontime' || key === 'lastheartbeat' || key === 'lastsuccessfuljob') {
           metric = {}
           metric.name = key
           metric.value = this.$toLocaleDate(map[key]) // needs a conversion