File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/projects/detail/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const SpecSection = props => {
122122 < h5 className = "project-name" > { project . name } </ h5 >
123123 </ div >
124124 }
125- { ( ! project . status || project . status === PROJECT_STATUS_DRAFT ) &&
125+ { ( ! queryParamRefCode && ( ! project . status || project . status === PROJECT_STATUS_DRAFT ) ) &&
126126 < div className = "textinput-refcode" >
127127 < TCFormFields . TextInput
128128 name = { refCodeFieldName }
@@ -138,7 +138,7 @@ const SpecSection = props => {
138138 </ div >
139139 </ div >
140140 }
141- { ( refCode && project . status && project . status !== PROJECT_STATUS_DRAFT ) &&
141+ { ( ! queryParamRefCode && project . status && project . status !== PROJECT_STATUS_DRAFT ) &&
142142 < div className = "read-only-refcode" >
143143 < h5 className = "project-refcode" > { refCode } </ h5 >
144144 < div className = "refcode-desc" >
You can’t perform that action at this time.
0 commit comments