Closed Ponnosaurus closed 4 months ago
this also happened to us. wasp said he is aware
A workaround I've found that works is to change a line in the installed module.
On line 65437 in {foundry_data_folder}/modules/item-piles/module.js
, change the line from:
pileData.merchantColumns = Array.isArray(result.merchantColumns) ? result.merchantColumns : [],
to:
pileData.merchantColumns = Array.isArray(result) ? result : [],
I have sent a suggestion to change this in the source as well.
Having the same issue in dnd5e
Are you on the latest version of Item Piles? Yes
Have you tried to reset Item Piles' system settings? Yes
Describe the bug Clicking "Save" and then "Update Item Pile" in the Merchant Columns in Merchant Item Piles causes all the descriptive columns (including those preset by the module) to be wiped, leaving only "Quantity" and "Price".
To Reproduce Steps to reproduce the behavior:
Expected behavior Saving changes to Merchant Columns should not be wiping the preset columns or any custom columns.
Screenshots Before accessing Column settings.
After saving Column settings without any changes.
Setup:
Active modules:
Additional context Add any other context about the problem here.