@byu-oit/vue-decision-processing-components 8.29.4 → 8.29.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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [8.29.5](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.29.4...v8.29.5) (2022-10-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * cleanup ([7fc8a7a](https://github.com/byu-oit/vue-decision-processing-components/commit/7fc8a7aecde320772d633863cdd8d6b61142ded2))
11
+ * whitespace ([e374fcb](https://github.com/byu-oit/vue-decision-processing-components/commit/e374fcbeb412c53a3a7fe88f9d535a95a76a0b72))
12
+
5
13
  ### [8.29.4](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.29.3...v8.29.4) (2022-10-07)
6
14
 
7
15
  ### [8.29.3](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.29.2...v8.29.3) (2022-10-05)
@@ -23,6 +23,7 @@
23
23
  <th>Location</th>
24
24
  <th>Type</th>
25
25
  <th>GPA</th>
26
+ <th>Calculated GPA</th>
26
27
  <th>Graduation Date</th>
27
28
  <th v-if="showTranscript">Transcript</th>
28
29
  </tr>
@@ -37,7 +38,8 @@
37
38
  </td>
38
39
  <td>{{hs.highSchoolCity}} - {{hs.highSchoolState}} - {{hs.highSchoolCountry}}</td>
39
40
  <td>{{hs.highSchoolType}}</td>
40
- <td>{{hsGpa(hs) | gpaFilter}}</td>
41
+ <td>{{hsGpa(hs, 'regular') | gpaFilter}}</td>
42
+ <td>{{hsGpa(hs, 'calc') | gpaFilter}}</td>
41
43
  <td>{{hs.graduationDate | dateFormat}}</td>
42
44
  <td v-if="showTranscript">{{hs.linkToDocumentImage}}</td>
43
45
  </tr>
@@ -77,19 +79,18 @@
77
79
  ...mapGetters(['highSchoolSummaries']),
78
80
  },
79
81
  methods: {
80
- hsGpa (highSchool) {
82
+ hsGpa (highSchool, specifier) {
81
83
  if (highSchool) {
82
- if (highSchool.gpaCalculated) {
83
- const asFloat = Number.parseFloat(highSchool.gpaCalculated)
84
- if (Number.isNaN(asFloat) || asFloat < 0.01) {
85
- return highSchool.highSchoolGpa
86
- } else {
87
- return highSchool.gpaCalculated
84
+ let value = highSchool.highSchoolGpa
85
+ if (specifier === 'calc') {
86
+ value = highSchool.gpaCalculated
87
+ }
88
+ if (value) {
89
+ const asFloat = Number.parseFloat(value)
90
+ if (!Number.isNaN(asFloat) && asFloat > 0.01) {
91
+ return value
88
92
  }
89
- } else {
90
- return highSchool.highSchoolGpa || highSchool.officialGpa
91
93
  }
92
- } else {
93
94
  return ''
94
95
  }
95
96
  }
package/SupportDialog.vue CHANGED
@@ -114,7 +114,7 @@ export default {
114
114
  },
115
115
  body: JSON.stringify({
116
116
  business_service: 'CES Admissions Application',
117
- assignment_group: 'OIT-SpecOps Student Admin',
117
+ assignment_group: 'CA1', //'OIT-SpecOps Student Admin'
118
118
  priority: '4',
119
119
  caller_id: callerId,
120
120
  short_description: this.shortDescription,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byu-oit/vue-decision-processing-components",
3
- "version": "8.29.4",
3
+ "version": "8.29.5",
4
4
  "description": "Vue components shared between decision processing systems for the CES schools.",
5
5
  "dependencies": {
6
6
  "@fortawesome/fontawesome-free": "^5.15.4",