Skip to content

Inventory fails to render new currencies until actor is updated #6571

Description

@arbron

If a module modifies the currencies in the system then the inventory for actors and contains will not show those currencies until something on the actor is updated (this only happens if new currency keys are added). This is because the template iterates over the source data for the currencies, but the keys in the source data haven't been updated to match the new currency configuration.

Image

To fix this inventory.hbs should probably look over the currency config first and only then fetch the source data for each specific currency type. Alternatively a step could be taken during data preparation to ensure the correct keys exist in context.currency.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions