forked from PalisadoesFoundation/talawa-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usertype removal - part 1 (PalisadoesFoundation#1858)
* delete org fix * refactor duplicate code files * refactor userType code in Users.tsx * userType fix App.test * fix leftdrawer * settings test * events n profile dropdown * rename file * Fix import casing in OrganizationScreen and SuperAdminScreen * Rename profileDropdown.module.css to ProfileDropdown.module.css * Rename profileDropdown.test.tsx to ProfileDropdown.test.tsx * Rename profileDropdown.tsx to ProfileDropdown.tsx * variable rename * remove unused code * fix test and remove userType in OrgSettings * Remove unnecessary beforeEach block in LeftDrawerOrg.test.tsx * superadmin screen test * unused code * login test data fix * unused * unused * fixed userType to userRole * Remove InterfaceQueryRequestListItem interface * deleteOrg test fix * typos * Update OrganizationDashboard.test.tsx * added files with eslint issue * Update pre-commit
- Loading branch information
1 parent
c328cfc
commit 1d057d9
Showing
24 changed files
with
53 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,6 @@ const MOCKS = [ | |
phone: { | ||
mobile: '+8912313112', | ||
}, | ||
userType: 'SUPERADMIN', | ||
}, | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,13 +61,15 @@ const MOCKS = [ | |
login: { | ||
user: { | ||
_id: '1', | ||
userType: 'ADMIN', | ||
adminApproved: false, | ||
firstName: 'firstname', | ||
lastName: 'secondname', | ||
email: '[email protected]', | ||
image: 'image', | ||
}, | ||
appUserProfile: { | ||
adminFor: {}, | ||
isSuperAdmin: false, | ||
}, | ||
accessToken: 'accessToken', | ||
refreshToken: 'refreshToken', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,6 @@ const renderStartPostModal = ( | |
lastName: 'dsza', | ||
email: '[email protected]', | ||
appLanguageCode: 'en', | ||
userType: 'USER', | ||
pluginCreationAllowed: true, | ||
adminApproved: true, | ||
createdAt: '2023-02-18T09:22:27.969Z', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.