Skip to content

Commit bf5dd5b

Browse files
Merge pull request #1185 from openedx/sundas/restricted-countries-changes
feat: added restricted country functionality
2 parents adb12b4 + 896f2ce commit bf5dd5b

File tree

14 files changed

+3372
-7081
lines changed

14 files changed

+3372
-7081
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/profile/__mocks__/invalidUser.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports = {
2929
drafts: {},
3030
isLoadingProfile: false,
3131
isAuthenticatedUserProfile: true,
32+
countriesCodesList: [],
3233
},
3334
router: {
3435
location: {

src/profile/__mocks__/savingEditedBio.mockStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ module.exports = {
126126
],
127127
drafts: {},
128128
isLoadingProfile: false,
129-
disabledCountries: [],
129+
countriesCodesList: [],
130130
},
131131
router: {
132132
location: {

src/profile/__mocks__/viewOtherProfile.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ module.exports = {
8686
drafts: {},
8787
isLoadingProfile: false,
8888
learningGoal: 'advance_career',
89+
countriesCodesList: [],
8990
},
9091
router: {
9192
location: {

src/profile/__mocks__/viewOwnProfile.mockStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ module.exports = {
124124
createdDate: '2019-03-04T19:31:39.896806Z'
125125
}
126126
],
127+
countriesCodesList:[{code:"AX"},{code:"AL"}],
127128
drafts: {},
128129
isLoadingProfile: false
129130
},

0 commit comments

Comments
 (0)