Skip to content

Commit

Permalink
feat(#1036): remove prediction ok/ko in labelling rules (#1037)
Browse files Browse the repository at this point in the history
closes #1036
This PR removes prediction ok/ko info from records in labelling rules

(cherry picked from commit 9360623)
  • Loading branch information
leiyre authored and frascuchon committed Jan 31, 2022
1 parent a1de669 commit 3c244e8
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -47,7 +47,7 @@
<div v-if="!annotationEnabled" class="record__labels">
<template v-if="record.annotation">
<svgicon
v-if="record.predicted"
v-if="record.predicted && !labellingRulesView"
:class="['icon__predicted', record.predicted]"
width="20"
height="20"
Expand Down Expand Up @@ -88,6 +88,9 @@ export default {
annotationEnabled() {
return this.dataset.viewSettings.viewMode === "annotate";
},
labellingRulesView() {
return this.dataset.viewSettings.viewMode === "labelling-rules";
},
allowValidate() {
const isBinary =
this.dataset.labels.length === 2 && !this.dataset.isMultiLabel;
Expand Down

0 comments on commit 3c244e8

Please sign in to comment.