Skip to content

Commit 879c08c

Browse files
committed
fix: search broken in projects
1 parent 00f7089 commit 879c08c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/ProjectCard/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { PROJECT_STATUSES } from '../../config/constants'
99
import styles from './ProjectCard.module.scss'
1010

1111
const ProjectCard = ({ projectName, projectStatus, projectId, selected, isInvited }) => {
12+
console.log(find(PROJECT_STATUSES, { value: projectStatus }), projectStatus, projectName, projectId)
1213
return (
1314
<div className={styles.container}>
1415
<Link

src/config/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ export const SPECIAL_CHALLENGE_TAGS = [
437437
* Possible statuses of projects
438438
*/
439439
export const PROJECT_STATUSES = [
440+
{ label: 'Draft', value: 'draft' },
440441
{ label: 'Active', value: 'active' },
441442
{ label: 'In Review', value: 'in_review' },
442443
{ label: 'Reviewed', value: 'reviewed' },

0 commit comments

Comments
 (0)