There were a few problems causing the enabledFeatures configuation object
from being ignored (thus all features were enabled, even when the user
preferred to hide some):
the object was not being included in the object returned from
src/helpers.ts, and
the check to see which features were disabled was trying to find the
feature name in the config object directly, instead of looking in
config.enabledFeatures.
This change allows users to hide features they would prefer not to see
(or that are currently malfunctioning, i.e., preclimatization), and thus
resolves Issue #12.
There were a few problems causing the enabledFeatures configuation object from being ignored (thus all features were enabled, even when the user preferred to hide some):
the object was not being included in the object returned from src/helpers.ts, and
the check to see which features were disabled was trying to find the feature name in the
config
object directly, instead of looking inconfig.enabledFeatures
.This change allows users to hide features they would prefer not to see (or that are currently malfunctioning, i.e., preclimatization), and thus resolves Issue #12.