fixed "Custom fields always set to default value"

This commit is contained in:
asift798
2022-03-16 11:28:08 +05:30
parent 18507ddb6f
commit 586fb1ae10

View File

@ -64,7 +64,7 @@ function mergeExistingValues() {
if (props.isEdit) {
props.store[props.storeProp].fields.forEach((field) => {
const existingIndex = props.store[props.storeProp].customFields.findIndex(
(f) => f.id === field.custom_field_id
(f) => f.id == field.custom_field_id
)
if (existingIndex > -1) {