@kigi/components 1.5.2 → 1.5.3

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": "@kigi/components",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -56,7 +56,7 @@ class MbgRepasseController {
56
56
  handleNgModel() {
57
57
  this.$timeout(() => {
58
58
  this.ngModel['conditions'] = this.conditions
59
- .filter((cond) => cond.field && cond.operator && cond.selected)
59
+ .filter((cond) => cond.field && cond.operator && cond.selected !== undefined)
60
60
  .map((condition) => {
61
61
  return {
62
62
  field: condition.field.type,
@@ -65,7 +65,7 @@ class MbgRepasseController {
65
65
  }
66
66
  })
67
67
  this.ngModel['applies'] = this.applies
68
- .filter((app) => app.field && app.selected)
68
+ .filter((app) => app.field && app.selected !== undefined)
69
69
  .map((apply) => {
70
70
  return {
71
71
  field: apply.field.type,
@@ -47,8 +47,6 @@ class MbgStatusLabelController {
47
47
  this.label = 'Autorizada'
48
48
  break
49
49
  case 'CANCELADA':
50
- case 'CANCELLED':
51
- case 'CANCELED':
52
50
  this.label = 'Cancelada'
53
51
  break
54
52
  case 'REJEITADA':
@@ -93,8 +91,6 @@ class MbgStatusLabelController {
93
91
  case 'REJEITADA':
94
92
  case 'PENDING_REJECT':
95
93
  case 'REJECTED':
96
- case 'CANCELLED':
97
- case 'CANCELED':
98
94
  this.labelClass = 'error'
99
95
  break
100
96
  case 'PASSED_ALONG':