@campxdev/shared 2.0.6 → 2.0.8

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": "@campxdev/shared",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -117,6 +117,8 @@ export default function Table<T>({
117
117
  ? col.render(row[col.dataIndex], row, colIndex)
118
118
  : _.get(row, col.dataIndex)
119
119
 
120
+ console.log(colValue)
121
+
120
122
  if (!totalCount[colIndex]) {
121
123
  totalCount[colIndex] = 0
122
124
  }
@@ -126,7 +128,7 @@ export default function Table<T>({
126
128
  return
127
129
  }
128
130
 
129
- totalCount[colIndex] += colValue
131
+ totalCount[colIndex] += colValue ? colValue : 0
130
132
  })
131
133
  }
132
134
 
@@ -436,6 +436,7 @@ export enum ExamsPermissions {
436
436
  CAN_MANAGE_EXAMS_PROFILE_PERMISSIONS_DELETE = 'can_manage_exams_profile_permissions_delete',
437
437
 
438
438
  // End Semester Examination
439
+ CAN_EXAM_RESULT_ISSUES_VIEW = 'can_exam_result_issues_view',
439
440
  CAN_END_SEMESTER_EXAMINATIONS_VIEW = 'can_end_semester_examinations_view',
440
441
  CAN_END_SEMESTER_EXAMINATIONS_ADD = 'can_end_semester_examinations_add',
441
442
  CAN_END_SEMESTER_EXAMINATIONS_EDIT = 'can_end_semester_examinations_edit',
@@ -1836,6 +1837,7 @@ export interface IPermissions {
1836
1837
  can_end_semester_examinations_archive_exam: boolean
1837
1838
  can_end_semester_examinations_edit: boolean
1838
1839
  can_end_semester_examinations_notification_details_view: boolean
1840
+ can_exam_result_issues_view: boolean
1839
1841
  can_exam_fee_configuration_view: boolean
1840
1842
  can_exam_fee_configuration_add: boolean
1841
1843
  can_exam_registrations_view: boolean