main
Last change
on this file since 4d97b63 was befb988, checked in by 223021 <daniel.ilievski.2@…>, 5 months ago |
Added an edit profile page for both job seekers and recruiters, where they can upload profile pictures/company logos and edit their profile data. Added profile page specifically for recruiters. Refactored existing code.
|
-
Property mode
set to
100644
|
File size:
383 bytes
|
Line | |
---|
1 | export const getRoleName = (role) => {
|
---|
2 | switch (role) {
|
---|
3 | case 'ROLE_ADMIN':
|
---|
4 | return 'ADMIN';
|
---|
5 | case 'ROLE_RECRUITER':
|
---|
6 | return 'RECRUITER';
|
---|
7 | case 'ROLE_JOBSEEKER':
|
---|
8 | return 'JOBSEEKER';
|
---|
9 | }
|
---|
10 | }
|
---|
11 |
|
---|
12 | export default {
|
---|
13 | ADMIN: 'ROLE_ADMIN',
|
---|
14 | RECRUITER: 'ROLE_RECRUITER',
|
---|
15 | JOBSEEKER: 'ROLE_JOBSEEKER',
|
---|
16 | GUEST: 'ROLE_GUEST'
|
---|
17 | }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.