Skip to content

Commit 8e0870a

Browse files
author
Vikas Agarwal
committed
Disabled the scope change work flow for the immediate release of query param support for smart scope forms.
1 parent 0a390c7 commit 8e0870a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/projects/detail/components/EditProjectForm/EditProjectForm.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
import { clean } from '../../../../helpers/utils'
2828

2929
import './EditProjectForm.scss'
30-
import { PROJECT_STATUS_DRAFT, PROJECT_STATUS_IN_REVIEW, PROJECT_STATUS_COMPLETED, SCOPE_CHANGE_REQ_STATUS_ACTIVATED, SCOPE_CHANGE_REQ_STATUS_PENDING, SCOPE_CHANGE_REQ_STATUS_APPROVED } from '../../../../config/constants'
30+
import { PROJECT_STATUS_COMPLETED, SCOPE_CHANGE_REQ_STATUS_ACTIVATED, SCOPE_CHANGE_REQ_STATUS_PENDING, SCOPE_CHANGE_REQ_STATUS_APPROVED } from '../../../../config/constants'
3131

3232
const FeaturePickerModal = ({ project, isEdittable, showFeaturesDialog, hideFeaturesDialog, saveFeatures, setValue }) => {
3333
const setFormValue = (features, featureSeeAttached=false) => {
@@ -281,7 +281,9 @@ class EditProjectForm extends Component {
281281
}
282282

283283
isScopeFreezed() {
284-
return [PROJECT_STATUS_DRAFT, PROJECT_STATUS_IN_REVIEW].indexOf(this.props.project.status) === -1
284+
return false
285+
// TODO commented to disable the scope change flow for immediate release
286+
// return [PROJECT_STATUS_DRAFT, PROJECT_STATUS_IN_REVIEW].indexOf(this.props.project.status) === -1
285287
}
286288

287289
submit(model) {

0 commit comments

Comments
 (0)