diff --git a/src/components/Forms/Pipelines/RepoSelect/GitLabForm/index.jsx b/src/components/Forms/Pipelines/RepoSelect/GitLabForm/index.jsx
index 0fc497817ca..6fc47e4ab58 100644
--- a/src/components/Forms/Pipelines/RepoSelect/GitLabForm/index.jsx
+++ b/src/components/Forms/Pipelines/RepoSelect/GitLabForm/index.jsx
@@ -104,7 +104,7 @@ export default class GitLabForm extends React.Component {
render() {
const { formData, credentials } = this.props.store
const { formRef } = this.props
- const { serverList } = this.state
+ const { serverList, projectList } = this.state
return (
@@ -166,11 +166,7 @@ export default class GitLabForm extends React.Component {
>