equinor / equinor/fusion-framework
Feature-flag enabled property is undefined.
Open
🏗️ framework
🐞 bug
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 10
- Avg merge
- 19h 40m
- Merged PRs (30d)
- 150
Description
**Describe the bug**
When getting the featureflag before any user interaction and nothing on local-storage the ``enabled`` property shows as `undefined`, it should always be a boolean.
``
{key: 'basic', title: 'Basic', enabled: undefined}
``
**Environment**
- OS (windows, mac, linux)
- Node Version 20
**To Reproduce**
Fire up the feature-flag cookbook, with no features in local-storage, and log out the features.
**Expected behavior**
The enabled property should always be a boolean.
Contributor guide
Assessment
This issue has not been assessed yet.