diff --git a/app/assets/javascripts/performance_bar/components/detailed_metric.vue b/app/assets/javascripts/performance_bar/components/detailed_metric.vue
index 719282e69c1..d4881f07972 100644
--- a/app/assets/javascripts/performance_bar/components/detailed_metric.vue
+++ b/app/assets/javascripts/performance_bar/components/detailed_metric.vue
@@ -28,8 +28,11 @@ export default {
},
},
computed: {
+ metricDetails() {
+ return this.currentRequest.details[this.metric];
+ },
detailsList() {
- return this.currentRequest.details[this.metric][this.details];
+ return this.metricDetails[this.details];
},
},
};
@@ -38,6 +41,7 @@ export default {
-
-
- {{ currentRequest.details.host.hostname }}
-
-
-
+
+ {{ currentRequest.details.host.hostname }}
+
+
@@ -186,6 +180,12 @@ export default {
gc
+
diff --git a/app/assets/javascripts/performance_bar/components/request_selector.vue b/app/assets/javascripts/performance_bar/components/request_selector.vue
index 2f360ea6f6c..3ed07a4a47d 100644
--- a/app/assets/javascripts/performance_bar/components/request_selector.vue
+++ b/app/assets/javascripts/performance_bar/components/request_selector.vue
@@ -37,7 +37,7 @@ export default {