We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d42d35 commit e4e5e92Copy full SHA for e4e5e92
src/projects/create/components/ProjectWizard.jsx
@@ -216,6 +216,18 @@ class ProjectWizard extends Component {
216
if (usersField && users) {
217
appDefinitionQuery.users = users
218
}
219
+ const notes = _.get(this.state.dirtyProject, 'details.appDefinition.notes')
220
+ // finds the notes field from the target product template
221
+ const notesField = getProjectCreationTemplateField(
222
+ updatedProduct,
223
+ 'appDefinition',
224
+ 'notes',
225
+ 'details.appDefinition.notes'
226
+ )
227
+ // if notes was already entered and updated product template has the field, restore it
228
+ if (notesField && notes) {
229
+ appDefinitionQuery.notes = notes
230
+ }
231
detailsQuery.appDefinition = appDefinitionQuery
232
233
0 commit comments