-
All documents
-
Field
+
All documents
+
Field
@@ -512,10 +512,17 @@
:agg-min="metricAggType === 'min' && metricAggKey"
:agg-max="metricAggType === 'max' && metricAggKey"
class="m-n-med"
- @click="clickChart" />
+ @click="clickChart"
+ @group="val => groupByValue = val" />
-
+
@@ -524,6 +531,7 @@
export default {
data() {
return {
+ groupByValue: '',
eventViewerFrom: '',
eventViewerVisible: false,
popWhenVisible: false,
@@ -877,6 +885,14 @@ export default {
},
methods: {
+ changeGroupedOver() {
+ this.validate();
+
+ if (this.groupedOver === 'all') {
+ this.groupByValue = '';
+ }
+ },
+
clickChart(val) {
this.eventViewerFrom = val.name;
this.eventViewerVisible = true;
@@ -888,13 +904,8 @@ export default {
await this.validateOf();
}
- if (this.$refs.over) {
- await this.validateOver();
- }
-
- if (this.$refs.overall) {
- await this.validateOverall();
- }
+ await this.validateOver();
+ await this.validateOverall();
if (this.$refs.compare) {
await this.validateCompare();
diff --git a/src/components/config/ConfigSettings.vue b/src/components/config/ConfigSettings.vue
index 1d908d79..e7e24889 100644
--- a/src/components/config/ConfigSettings.vue
+++ b/src/components/config/ConfigSettings.vue
@@ -29,11 +29,11 @@