diff --git a/frontend/src/components/secure-message/EDXInvitations.vue b/frontend/src/components/secure-message/EDXInvitations.vue
index 49af93192..d2fcbd44c 100644
--- a/frontend/src/components/secure-message/EDXInvitations.vue
+++ b/frontend/src/components/secure-message/EDXInvitations.vue
@@ -37,7 +37,7 @@
-
-
+
Upload User Onboarding Data
@@ -166,12 +169,12 @@
-
-
+
-
+ />
+
@@ -196,8 +199,8 @@
import ApiService from '../../common/apiService';
import {Routes} from '@/utils/constants';
import alertMixin from '@/mixins/alertMixin';
-import {getFileNameWithMaxNameLength} from "@/utils/file";
-import { deepCloneObject } from '../../utils/common';
+import {getFileNameWithMaxNameLength} from '@/utils/file';
+import { deepCloneObject } from '@/utils/common';
import {LocalDate} from '@js-joda/core';
export default {
@@ -208,8 +211,8 @@ export default {
tab: null,
schoolSearch: null,
districtSearch: null,
- pageNumber: 1,
- pageCount: 0,
+ districtAccessPageNumber: 1,
+ schoolAccessPageNumber: 1,
itemsPerPage: 10,
acceptableFileExtensions: 'CSV',
uploadInProgress: false,
@@ -297,6 +300,8 @@ export default {
expiryType: ['Active', 'Expired']
};
},
+ computed: {
+ },
watch: {
districtSearch() {
this.applyDistrictFilter();
@@ -310,8 +315,6 @@ export default {
}
},
},
- computed: {
- },
async mounted() {
this.loadDistrictInvites();
},
@@ -359,6 +362,7 @@ export default {
},
loadSchoolInvites() {
this.schoolLoading = true;
+ this.schoolAccessPageNumber = 1;
ApiService.apiAxios
.get(`${Routes.edx.FIND_SCHOOL_INVITATIONS}`)
.then(response => {
@@ -378,6 +382,7 @@ export default {
},
loadDistrictInvites() {
this.districtLoading = true;
+ this.districtAccessPageNumber = 1;
ApiService.apiAxios
.get(`${Routes.edx.FIND_DISTRICT_INVITATIONS}`)
.then(response => {