Skip to content

Commit

Permalink
fix(#1103): remove "Error Distribution" from metrics (#1255)
Browse files Browse the repository at this point in the history
Closes #1103

(cherry picked from commit ea34051)
  • Loading branch information
leiyre authored and frascuchon committed Mar 30, 2022
1 parent 38930cb commit b9bb5b4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 126 deletions.
96 changes: 0 additions & 96 deletions frontend/components/commons/sidebar/StatsErrorDistribution.vue

This file was deleted.

Expand Up @@ -23,10 +23,6 @@
:options="options"
@selectOption="onSelectOption"
/>
<StatsErrorDistribution
v-if="selectedOption.id === 'error'"
:dataset="dataset"
/>
<template v-if="selectedOption.id === 'keywords'">
<div class="scroll">
<div v-for="(counter, keyword) in getKeywords" :key="keyword">
Expand Down Expand Up @@ -70,12 +66,6 @@ export default {
id: "keywords",
name: "Keywords",
});
if (Object.values(this.dataset.results.aggregations.predicted).length) {
options.push({
id: "error",
name: "Error Distribution",
});
}
return options;
},
},
Expand Down
10 changes: 0 additions & 10 deletions frontend/components/text2text/sidebar/Text2TextStats.vue
Expand Up @@ -23,10 +23,6 @@
:options="options"
@selectOption="onSelectOption"
/>
<StatsErrorDistribution
v-if="selectedOption.id === 'error'"
:dataset="dataset"
/>
<template v-if="selectedOption.id === 'keywords'">
<div class="scroll">
<div v-for="(counter, keyword) in getKeywords" :key="keyword">
Expand Down Expand Up @@ -70,12 +66,6 @@ export default {
id: "keywords",
name: "Keywords",
});
if (Object.values(this.dataset.results.aggregations.predicted).length) {
options.push({
id: "error",
name: "Error Distribution",
});
}
return options;
},
},
Expand Down
Expand Up @@ -23,10 +23,6 @@
:options="options"
@selectOption="onSelectOption"
/>
<StatsErrorDistribution
v-if="selectedOption.id === 'error'"
:dataset="dataset"
/>
<div v-if="selectedOption.id === 'mentions'">
<div class="sidebar__tabs">
<a
Expand Down Expand Up @@ -106,12 +102,6 @@ export default {
id: "mentions",
name: "Mentions",
});
if (Object.values(this.dataset.results.aggregations.predicted).length) {
options.push({
id: "error",
name: "Error Distribution",
});
}
return options;
},
existMentions() {
Expand Down

0 comments on commit b9bb5b4

Please sign in to comment.