File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/apps/copilots/src/pages/copilot-request-form Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const CopilotRequestForm: FC<{}> = () => {
4545 const [ formErrors , setFormErrors ] = useState < any > ( { } )
4646 const [ paymentType , setPaymentType ] = useState < string > ( '' )
4747 const [ projectFromQuery , setProjectFromQuery ] = useState < Project > ( )
48- const isActiveProject = [ 'active' , 'approved' , 'draft' , 'new' ]
48+ const activeProjectStatuses = [ 'active' , 'approved' , 'draft' , 'new' ]
4949
5050 const { data : copilotRequestData } : CopilotRequestResponse = useCopilotRequest ( routeParams . requestId )
5151
@@ -118,7 +118,7 @@ const CopilotRequestForm: FC<{}> = () => {
118118 const response = await getProjects ( inputValue , {
119119 filter : {
120120 status : {
121- $in : [ isActiveProject ] ,
121+ $in : [ activeProjectStatuses ] ,
122122 } ,
123123 } ,
124124 } )
You can’t perform that action at this time.
0 commit comments