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<{}> = () => {
45
45
const [ formErrors , setFormErrors ] = useState < any > ( { } )
46
46
const [ paymentType , setPaymentType ] = useState < string > ( '' )
47
47
const [ projectFromQuery , setProjectFromQuery ] = useState < Project > ( )
48
- const isActiveProject = [ 'active' , 'approved' , 'draft' , 'new' ]
48
+ const activeProjectStatuses = [ 'active' , 'approved' , 'draft' , 'new' ]
49
49
50
50
const { data : copilotRequestData } : CopilotRequestResponse = useCopilotRequest ( routeParams . requestId )
51
51
@@ -118,7 +118,7 @@ const CopilotRequestForm: FC<{}> = () => {
118
118
const response = await getProjects ( inputValue , {
119
119
filter : {
120
120
status : {
121
- $in : [ isActiveProject ] ,
121
+ $in : [ activeProjectStatuses ] ,
122
122
} ,
123
123
} ,
124
124
} )
You can’t perform that action at this time.
0 commit comments