Skip to content

108: Fix enrichHTML bug, add choices to DataModel

Matt Smith requested to merge 108-fix-enrich-html into master
  • Fixed bug with enrichHTML() causing data on item sheets to be enriched prior to saving to the database.
  • Added new Handlebars helper, getValue to support retrieving a value by key in Handlebars. This was mostly necessary due to how moveResults is an object that we iterate through.
  • Added choices back to the DataModel.
  • Updated the move-description.hbs partial to have a hasChoices flag that can be toggled. I wasn't able to simply check system.choices due to the default value, an empty string, returning false in if statements.

Closes #108 (closed)

Merge request reports