@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konfuzio/document-validation-ui",
3
- "version": "0.1.26-dev.4",
3
+ "version": "0.1.26-dev.5",
4
4
  "repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
5
5
  "main": "dist/app.js",
6
6
  "scripts": {
@@ -47,7 +47,7 @@
47
47
  .annotation-set-list {
48
48
  padding-bottom: 16px;
49
49
  overflow: auto;
50
- max-height: 100%;
50
+ height: 100vh;
51
51
 
52
52
  #annotation-filters {
53
53
  padding: 16px 16px 0px 16px;
@@ -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 v-if="(created(annotation) || edited(annotation)) && !isNegative(annotation) && !publicView">
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="notExtracted(annotation) || isNegative(annotation) && !publicView"
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 (this.notExtracted(this.annotation) || this.isNegative(this.annotation)) {
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)