-
+
- Records {{ recordsMetric.value | formatNumber }}
+ Records
+
+ {{ recordsMetric.value }}
+
@@ -70,11 +73,7 @@ export default {
return this.dataset.query.text;
},
activeLabel() {
- return this.selectedLabels.length
- ? this.selectedLabels[0]
- : this.currentRule
- ? this.currentRule.label
- : undefined;
+ return this.selectedLabels.length ? this.selectedLabels[0] : undefined;
},
},
watch: {
diff --git a/frontend/components/text-classifier/labeling-rules/RuleLabelsDefinition.vue b/frontend/components/text-classifier/labeling-rules/RuleLabelsDefinition.vue
index 7bf74f538f..e8b53b9d5a 100644
--- a/frontend/components/text-classifier/labeling-rules/RuleLabelsDefinition.vue
+++ b/frontend/components/text-classifier/labeling-rules/RuleLabelsDefinition.vue
@@ -78,7 +78,9 @@
"
>
{{
- saved ? "The rule has been saved" : "This query with this label are already saved as rule"
+ saved
+ ? "The rule has been saved"
+ : "This query with this label are already saved as rule"
}}.
- {{ metric.rule.value | percent }}
- {{
- metric.rule.value
- }}
+ {{ metric.rule.value }}
@@ -46,10 +39,7 @@
metric.overall.description
}}
-
- {{ metric.overall.value | percent }}
-
-
+
{{ metric.overall.value }}
@@ -63,6 +53,7 @@