mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
Merge pull request #10833 from storybookjs/10239-fix-toolbars-initial-render
Core: Fix global args initial state for addon-toolbars
This commit is contained in:
commit
a8169508be
@ -184,6 +184,9 @@ export default class StoryStore {
|
||||
},
|
||||
{ ...defaultGlobalArgs, ...initialGlobalArgs }
|
||||
);
|
||||
if (this._channel) {
|
||||
this._channel.emit(Events.GLOBAL_ARGS_UPDATED, this._globalArgs);
|
||||
}
|
||||
}
|
||||
|
||||
addGlobalMetadata({ parameters, decorators }: StoryMetadata) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user