@byu-oit/vue-decision-processing-components 9.6.0 → 9.6.1
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/DetailsGeopolitical.vue +5 -5
- package/package.json +1 -1
package/DetailsGeopolitical.vue
CHANGED
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
},
|
|
51
51
|
statusClass() {
|
|
52
52
|
if (this.flag != null) {
|
|
53
|
-
switch (this.flag.state.toLowerCase()) {
|
|
53
|
+
switch ((this.flag.state || '').toLowerCase()) {
|
|
54
54
|
case 'pass':
|
|
55
55
|
return { 'text-success': true }
|
|
56
56
|
case 'fail':
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
66
66
|
},
|
|
67
67
|
flagIcon() {
|
|
68
68
|
if (this.flag != null) {
|
|
69
|
-
switch (this.flag.state.toLowerCase()) {
|
|
69
|
+
switch ((this.flag.state || '').toLowerCase()) {
|
|
70
70
|
case 'pass':
|
|
71
71
|
return faCheck
|
|
72
72
|
case 'fail':
|
|
@@ -85,17 +85,17 @@ export default {
|
|
|
85
85
|
if (this.flag.message != null && this.flag.message.length > 0) {
|
|
86
86
|
return this.flag.message
|
|
87
87
|
}
|
|
88
|
-
switch (this.flag.state.toLowerCase()) {
|
|
88
|
+
switch ((this.flag.state || '').toLowerCase()) {
|
|
89
89
|
case 'pass':
|
|
90
90
|
return 'No geopolitical concerns.'
|
|
91
91
|
case 'fail':
|
|
92
92
|
return 'Geopolitical concerns.'
|
|
93
93
|
case 'error':
|
|
94
|
-
return 'An error occurred.
|
|
94
|
+
return 'An error occurred. Probable geopolitical concerns.'
|
|
95
95
|
case 'indeterminate':
|
|
96
96
|
return 'No data available.'
|
|
97
97
|
default:
|
|
98
|
-
return 'An error occurred.
|
|
98
|
+
return 'An error occurred. Probable geopolitical concerns.'
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
package/package.json
CHANGED