main
Last change
on this file since 4d97b63 was befb988, checked in by 223021 <daniel.ilievski.2@…>, 3 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
|
Rev | Line | |
---|
[d8b6c91] | 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',
|
---|
[befb988] | 16 | GUEST: 'ROLE_GUEST'
|
---|
[d8b6c91] | 17 | }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.