Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
emile-bex committed Oct 18, 2023
2 parents 79feb5a + 98ff3c8 commit fa0831d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkedout-front",
"version": "2.9.2",
"version": "2.9.3",
"description": "",
"main": "index.js",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/forms/schemas/formAddOpportunity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
CONTRACTS,
} from 'src/constants';
import { Department, DEPARTMENTS_FILTERS } from 'src/constants/departements';
import { USER_ROLES } from 'src/constants/users';
import { CANDIDATE_USER_ROLES } from 'src/constants/users';
import { FilterConstant } from 'src/constants/utils';
import { findConstantFromValue } from 'src/utils';

Expand Down Expand Up @@ -360,7 +360,7 @@ export const formAddOpportunityAsAdmin: FormSchema<{
Api.getUsersSearch({
params: {
query: inputValue,
role: USER_ROLES.CANDIDATE,
role: CANDIDATE_USER_ROLES,
},
})
.then(({ data }) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/forms/schemas/formEditOpportunity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
CONTRACTS,
} from 'src/constants';
import { Department, DEPARTMENTS_FILTERS } from 'src/constants/departements';
import { USER_ROLES } from 'src/constants/users';
import { CANDIDATE_USER_ROLES } from 'src/constants/users';
import { FilterConstant } from 'src/constants/utils';
import { findConstantFromValue } from 'src/utils';

Expand Down Expand Up @@ -68,7 +68,7 @@ export const formEditOpportunity: FormSchema<{
Api.getUsersSearch({
params: {
query: inputValue,
role: USER_ROLES.CANDIDATE,
role: CANDIDATE_USER_ROLES,
},
})
.then(({ data }) => {
Expand Down

0 comments on commit fa0831d

Please sign in to comment.