Good Day All,
I have come across a strange issue while updating a dynamic list. The process requires me to some a a total of (Doubles) Values for each object. On mount the logic works flawlessly. however when updating the dates through a date picker and re-retrieving the data from the database i cannot sum up the values of the doubles merely list them. I receive the following error in console.
bundle.js:35 Uncaught (in promise) TypeError: Reduce of empty array with no initial value
at Array.reduce ()
at bundle.js:35:18241
at async Promise.all (/CB411F83-2292-179C-FF6B-D25974153100/32A961CE-FB71-4A06-B46E-E1040B4AE1A3/files/ui-builder/containers/default/index 1)
at async Object.onClick (bundle.js:35:17)
Does anyone have any suggestions.
As always, much obliged.
Kind Regards,
Raymond