mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:51:09 +08:00
CLEANUP
This commit is contained in:
parent
cab7552d85
commit
bd37f1cf2a
@ -100,7 +100,7 @@ export default ({ provider, store }: Module) => {
|
||||
|
||||
const { parameters } = storyInput;
|
||||
|
||||
const filteredPanels: Collection = {} as Collection<Addon>;
|
||||
const filteredPanels: Collection = {};
|
||||
Object.entries(allPanels).forEach(([id, panel]) => {
|
||||
const { paramKey } = panel;
|
||||
if (paramKey && parameters && parameters[paramKey] && parameters[paramKey].disabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user