mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:51:09 +08:00
CLEANUP
This commit is contained in:
parent
6abdbd7cbc
commit
47d62ca8cb
@ -289,6 +289,7 @@ export const init: ModuleFn = ({
|
||||
fullAPI.on(STORY_CHANGED, function handleStoryChange(storyId: string) {
|
||||
const { source }: { source: string } = this;
|
||||
const sourceType = getSourceType(source);
|
||||
|
||||
if (sourceType === 'local') {
|
||||
const options = fullAPI.getParameters({ storyId, refId: undefined }, 'options');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user