mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Fix storyshots issue
This commit is contained in:
parent
19ec1554f3
commit
a936dd11b5
@ -213,7 +213,7 @@ export default class StoryStore {
|
||||
}
|
||||
|
||||
// If we didn't find a story matching the speficier, we always want to emit CURRENT_STORY_WAS_SET anyway
|
||||
if (!foundStory) {
|
||||
if (!foundStory && this._channel) {
|
||||
this._channel.emit(Events.CURRENT_STORY_WAS_SET, this._selection);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user