Skip to content
New issue

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

Addon-docs: Fix source block error on dynamically-generated stories #14217

Merged
merged 1 commit into from
Mar 12, 2021
Merged

Addon-docs: Fix source block error on dynamically-generated stories #14217

merged 1 commit into from
Mar 12, 2021

Commits on Mar 12, 2021

  1. Fix: Docs fail to render when using generated stories

    Docs page throw an error `Cannot read property 'startBody' of undefined` when using generated stories because it cannot get its source code.
    
    The fix is using the same simple fallback to the whole story file same as when locationsMap is not passed from caller.
    jakubriedl authored Mar 12, 2021
    1 Configuration menu
    Copy the full SHA
    10ad73a View commit details
    Browse the repository at this point in the history