This commit is contained in:
Norbert de Langen 2020-02-13 11:53:01 +01:00
parent cab7552d85
commit bd37f1cf2a
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -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) {