mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Merge branch 'fix-default-custom-value' into 'master'
fixed "Custom fields always set to default value" See merge request mohit.panjvani/crater-web!1471
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user