Skip to content
Snippets Groups Projects
Commit efeb80a8 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix line length error

parent ec9ea9fe
No related branches found
No related tags found
1 merge request!681REDMINE_ISSUE-18401 | Les listes de valeurs pré-définies ne se rafraichissent pas
......@@ -235,7 +235,8 @@ const feature = {
// use extraForms from argument if defined, overiding data from the store, in order to not use mutation (in case of multiple features)
for (const field of extraForms || state.extra_forms) {
// send extra form only if there is a value defined or if no value, if there was a value before, in order to avoid sending empty value when user didn't touch the extraform
if (field.value !== null || (state.currentFeature.properties && state.currentFeature.properties[field.name])) {
if (field.value !== null ||
(state.currentFeature.properties && state.currentFeature.properties[field.name])){
extraFormObject[field.name] = field.value;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment