diff --git a/ui/src/components/widgets/Status.vue b/ui/src/components/widgets/Status.vue
index 68369b38c57..3ac8a8678cf 100644
--- a/ui/src/components/widgets/Status.vue
+++ b/ui/src/components/widgets/Status.vue
@@ -3,10 +3,7 @@
{{ text }}
-
-
- {{ text }}
-
+
@@ -31,6 +28,12 @@ export default {
}
},
methods: {
+ getText () {
+ if (this.displayText && this.text) {
+ return this.text.charAt(0).toUpperCase() + this.text.slice(1)
+ }
+ return ''
+ },
getBadgeStatus (state) {
var status = 'default'
switch (state) {
@@ -74,6 +77,6 @@ export default {
/deep/ .ant-badge-status-dot {
width: 12px;
height: 12px;
- margin-top: -3px;
+ margin-top: 5px;
}