Open ezio-melotti opened 1 year ago
After reproducing the same error with SAM: 1 Human + Garden, I determined that any simulation using a Crew Quarters other than 'Small' will reproduce the same error. In these other Crew Quarters there appears to be an attribute storage_type that is either not being parsed correctly on the frontend or has not been fully defined on the backend hence the TypeError: this.setsinfo[this.storage_type] is undefined
. Perhaps @granawkins may know more?
Easy fix: In StorageRatios.vue
line 64, update to
if (currencies.length > 2 && stor_name !== 'food_storage') {
Medium fix: In LevelsGraph.vue
, after line 54, define the colors/order for all food currencies.
Proper fix: Redesign LevelsGraph
to build/color/order programmatically
Steps to reproduce:
This will raise an error and the graph will be missing.
LevelsGraph.vue
there are a fewTODO: Revert ABM Workaround
that might be related -- @granawkins?