Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit db0e582

Browse files
committed
fix: issue #586
1 parent 8b13ce0 commit db0e582

File tree

2 files changed

+33
-27
lines changed
  • src/routes/PositionDetails/components

2 files changed

+33
-27
lines changed

src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const CandidatesStatusFilter = ({ statusFilterKey, onChange, candidates }) => {
1717
return (
1818
<div styleName="candidates-status-filter">
1919
{CANDIDATE_STATUS_FILTERS.map((statusFilter) => {
20+
// issue #586 hide 'interview' tab temporarily
21+
if (statusFilter.key === CANDIDATE_STATUS_FILTER_KEY.INTERESTED) {
22+
return null;
23+
}
2024
const count = _.filter(candidates, (candidate) =>
2125
statusFilter.statuses.includes(candidate.status)
2226
).length;

src/routes/PositionDetails/components/PositionCandidates/index.jsx

+29-27
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,16 @@ const PositionCandidates = ({ position, statusFilterKey, updateCandidate }) => {
268268
<div styleName="actions">
269269
<ActionsMenu
270270
options={[
271-
{
272-
label: "Schedule Interview",
273-
action: () => {
274-
openInterviewDetailsPopup(candidate);
275-
},
276-
},
277-
{
278-
separator: true,
279-
},
271+
// issue #586 hide option temporarily
272+
// {
273+
// label: "Schedule Interview",
274+
// action: () => {
275+
// openInterviewDetailsPopup(candidate);
276+
// },
277+
// },
278+
// {
279+
// separator: true,
280+
// },
280281
{
281282
label: "Select Candidate",
282283
action: () => {
@@ -299,24 +300,25 @@ const PositionCandidates = ({ position, statusFilterKey, updateCandidate }) => {
299300
<div styleName="actions">
300301
<ActionsMenu
301302
options={[
302-
{
303-
label: "Schedule Another Interview",
304-
action: () => {
305-
openInterviewDetailsPopup(candidate);
306-
},
307-
},
308-
{
309-
label: "View Previous Interviews",
310-
action: () => {
311-
openPrevInterviewsPopup(candidate);
312-
},
313-
disabled:
314-
!!candidate.interviews !== true ||
315-
candidate.interviews.length === 0,
316-
},
317-
{
318-
separator: true,
319-
},
303+
// issue #586 hide option temporarily
304+
// {
305+
// label: "Schedule Another Interview",
306+
// action: () => {
307+
// openInterviewDetailsPopup(candidate);
308+
// },
309+
// },
310+
// {
311+
// label: "View Previous Interviews",
312+
// action: () => {
313+
// openPrevInterviewsPopup(candidate);
314+
// },
315+
// disabled:
316+
// !!candidate.interviews !== true ||
317+
// candidate.interviews.length === 0,
318+
// },
319+
// {
320+
// separator: true,
321+
// },
320322
{
321323
label: "Select Candidate",
322324
action: () => {

0 commit comments

Comments
 (0)