@konfuzio/document-validation-ui 0.1.26-dev.4 → 0.1.26-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,7 +5,13 @@
|
|
|
5
5
|
:class="[!fromTable && 'left-aligned', 'annotation-details']"
|
|
6
6
|
>
|
|
7
7
|
<div :class="['label-icon', fromTable && 'is-small']">
|
|
8
|
-
<div
|
|
8
|
+
<div
|
|
9
|
+
v-if="
|
|
10
|
+
(created(annotation) || edited(annotation)) &&
|
|
11
|
+
!isNegative(annotation) &&
|
|
12
|
+
!publicView
|
|
13
|
+
"
|
|
14
|
+
>
|
|
9
15
|
<div
|
|
10
16
|
:class="[
|
|
11
17
|
'annotation-details-icon',
|
|
@@ -23,7 +29,9 @@
|
|
|
23
29
|
<NotFoundIcon />
|
|
24
30
|
</div>
|
|
25
31
|
<div
|
|
26
|
-
v-else-if="
|
|
32
|
+
v-else-if="
|
|
33
|
+
notExtracted(annotation) || (isNegative(annotation) && !publicView)
|
|
34
|
+
"
|
|
27
35
|
:class="[
|
|
28
36
|
'annotation-details-icon',
|
|
29
37
|
animate ? 'animated-ripple' : '',
|
|
@@ -202,7 +210,10 @@ export default {
|
|
|
202
210
|
},
|
|
203
211
|
methods: {
|
|
204
212
|
getText() {
|
|
205
|
-
if (
|
|
213
|
+
if (
|
|
214
|
+
this.notExtracted(this.annotation) ||
|
|
215
|
+
this.isNegative(this.annotation)
|
|
216
|
+
) {
|
|
206
217
|
return this.$t("not_found_in_document");
|
|
207
218
|
} else if (this.created(this.annotation)) {
|
|
208
219
|
return this.getUser(this.annotation)
|