We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storybook: 5.3.8 storybook-addon-designs: 5.1.1
Exception occurs when you click on Design panel if story has no design config (user sees white screen).
Uncaught TypeError: Cannot use 'in' operator to search for 'length' in undefined
Group of stories decorated "withDesign", but story some stories has no design config.
storiesOf('Controls', module) .addDecorator(withKnobs({ escapeHTML: false })) .addDecorator(withThemes(THEMES)) .addDecorator(withDesign) .add('Checklists', data => { return { ..
http://joxi.ru/D2PKWaaSqxPGzm
I suggest to hide "Design" button if there is no design config in story or handle this exception to avoid braking the whole storybook.
The text was updated successfully, but these errors were encountered:
i see in code you have:
skipIfNoParameterOrOptions: true
But no code references to it
Sorry, something went wrong.
thanks, turned out it's a typo 😦
- skipIfNoParameterOrOptions + skipIfNoParametersOrOptions
Fixed in v5.1.2
Thanks, now it works!
Successfully merging a pull request may close this issue.
Storybook: 5.3.8
storybook-addon-designs: 5.1.1
Exception occurs when you click on Design panel if story has no design config (user sees white screen).
Group of stories decorated "withDesign", but story some stories has no design config.
http://joxi.ru/D2PKWaaSqxPGzm
I suggest to hide "Design" button if there is no design config in story or handle this exception to avoid braking the whole storybook.
The text was updated successfully, but these errors were encountered: