diff --git a/src/components/CodeSearchResults/__snapshots__/CodeSearchResults.test.jsx.snap b/src/components/CodeSearchResults/__snapshots__/CodeSearchResults.test.jsx.snap index fcf9e684f0..22037c135e 100644 --- a/src/components/CodeSearchResults/__snapshots__/CodeSearchResults.test.jsx.snap +++ b/src/components/CodeSearchResults/__snapshots__/CodeSearchResults.test.jsx.snap @@ -614,7 +614,7 @@ exports[` basic rendering should render table data 1`] = ` Showing 4 of - 4 + 0 . @@ -904,12 +904,96 @@ exports[` basic rendering should render table data 1`] = `
-
- Showing - 4 - of - 4 - . +
+
@@ -918,101 +1002,6 @@ exports[` basic rendering should render table data 1`] = ` -
-
- -
-
@@ -1109,7 +1098,7 @@ exports[` basic rendering should render table data when sea Showing 1 of - 1 + 0 . @@ -1292,12 +1281,96 @@ exports[` basic rendering should render table data when sea
-
- Showing - 1 - of - 1 - . +
+
@@ -1306,101 +1379,6 @@ exports[` basic rendering should render table data when sea -
-
- -
-
diff --git a/src/components/EnrolledLearnersForInactiveCoursesTable/__snapshots__/EnrolledLearnersForInactiveCoursesTable.test.jsx.snap b/src/components/EnrolledLearnersForInactiveCoursesTable/__snapshots__/EnrolledLearnersForInactiveCoursesTable.test.jsx.snap index 82f2bda231..d6f6328caf 100644 --- a/src/components/EnrolledLearnersForInactiveCoursesTable/__snapshots__/EnrolledLearnersForInactiveCoursesTable.test.jsx.snap +++ b/src/components/EnrolledLearnersForInactiveCoursesTable/__snapshots__/EnrolledLearnersForInactiveCoursesTable.test.jsx.snap @@ -104,7 +104,14 @@ exports[`EnrolledLearnersForInactiveCoursesTable renders enrolled learners for i > Email + + + + + Total Course Enrollment Count + + + + + Total Completed Courses Count + + + + + Last Activity Date + + + + + @@ -260,12 +384,96 @@ exports[`EnrolledLearnersForInactiveCoursesTable renders enrolled learners for i
-
- Showing - 3 - of - 3 - . +
+
@@ -274,100 +482,5 @@ exports[`EnrolledLearnersForInactiveCoursesTable renders enrolled learners for i -
-
- -
-
`; diff --git a/src/components/LearnerActivityTable/__snapshots__/LearnerActivityTable.test.jsx.snap b/src/components/LearnerActivityTable/__snapshots__/LearnerActivityTable.test.jsx.snap index c0fafc956e..63d83b2c41 100644 --- a/src/components/LearnerActivityTable/__snapshots__/LearnerActivityTable.test.jsx.snap +++ b/src/components/LearnerActivityTable/__snapshots__/LearnerActivityTable.test.jsx.snap @@ -64,7 +64,14 @@ exports[`LearnerActivityTable renders active learners table correctly 1`] = ` > Email + + + + + Course Title + + + + + Course Price + + + + + Start Date + + + + + End Date + + + + + Passed Date + + + + + Current Grade + + + + + Progress Status + + + + + Last Activity Date + + + + + @@ -307,12 +586,96 @@ exports[`LearnerActivityTable renders active learners table correctly 1`] = `
-
- Showing - 2 - of - 2 - . +
+
@@ -321,101 +684,6 @@ exports[`LearnerActivityTable renders active learners table correctly 1`] = ` -
-
- -
-
`; @@ -523,7 +791,14 @@ exports[`LearnerActivityTable renders inactive past month learners table correct > Email + + + + + Course Title + + + + + Course Price + + + + + Start Date + + + + + End Date + + + + + Passed Date + + + + + Current Grade + + + + + Progress Status + + + + + Last Activity Date + + + + + @@ -766,12 +1313,96 @@ exports[`LearnerActivityTable renders inactive past month learners table correct
-
- Showing - 2 - of - 2 - . +
+
@@ -780,101 +1411,6 @@ exports[`LearnerActivityTable renders inactive past month learners table correct -
-
- -
-
`; @@ -942,7 +1478,14 @@ exports[`LearnerActivityTable renders inactive past week learners table correctl > Email + + + + + Course Title + + + + + Course Price + + + + + Start Date + + + + + End Date + + + + + Passed Date + + + + + Current Grade + + + + + Progress Status + + + + + Last Activity Date + + + + + @@ -1185,12 +2000,96 @@ exports[`LearnerActivityTable renders inactive past week learners table correctl
-
- Showing - 2 - of - 2 - . +
+
@@ -1199,100 +2098,5 @@ exports[`LearnerActivityTable renders inactive past week learners table correctl -
-
- -
-
`; diff --git a/src/components/PastWeekPassedLearnersTable/__snapshots__/PastWeekPassedLearnersTable.test.jsx.snap b/src/components/PastWeekPassedLearnersTable/__snapshots__/PastWeekPassedLearnersTable.test.jsx.snap index c5d603fb8b..d4b75b2bc7 100644 --- a/src/components/PastWeekPassedLearnersTable/__snapshots__/PastWeekPassedLearnersTable.test.jsx.snap +++ b/src/components/PastWeekPassedLearnersTable/__snapshots__/PastWeekPassedLearnersTable.test.jsx.snap @@ -64,7 +64,14 @@ exports[`PastWeekPassedLearnersTable renders table correctly 1`] = ` > Email + + + + + Course Title + + + + + Passed Date + + + + + @@ -163,12 +256,96 @@ exports[`PastWeekPassedLearnersTable renders table correctly 1`] = `
-
- Showing - 2 - of - 2 - . +
+
@@ -177,100 +354,5 @@ exports[`PastWeekPassedLearnersTable renders table correctly 1`] = ` -
-
- -
-
`; diff --git a/src/components/SubsidyRequestManagementTable/tests/__snapshots__/SubsidyRequestManagementTable.test.jsx.snap b/src/components/SubsidyRequestManagementTable/tests/__snapshots__/SubsidyRequestManagementTable.test.jsx.snap index 8973ab0b5f..59a94d0637 100644 --- a/src/components/SubsidyRequestManagementTable/tests/__snapshots__/SubsidyRequestManagementTable.test.jsx.snap +++ b/src/components/SubsidyRequestManagementTable/tests/__snapshots__/SubsidyRequestManagementTable.test.jsx.snap @@ -77,7 +77,11 @@ exports[`SubsidyRequestManagementTable renders data in a table as expected 1`] =
- Showing 3 of 24. + Showing + 3 + of + 24 + .
- Showing 3 of 24. + Showing + 3 + of + 24 + .
{ const sortByColumn = useCallback(args => { const { sortBy } = args; - if (sortBy.length > 0) { + if (sortBy && sortBy.length > 0) { const column = sortBy[0]; const ordering = `${column.desc ? '-' : ''}${column.id}`; updateUrl({