diff --git a/addons/addon-contexts/src/libs/helpers.ts b/addons/addon-contexts/src/libs/helpers.ts index ef72c70b6178..dcba5a718dcb 100644 --- a/addons/addon-contexts/src/libs/helpers.ts +++ b/addons/addon-contexts/src/libs/helpers.ts @@ -41,7 +41,7 @@ export const mergeSettings: MergeSettings = ( icon: icon, title: title, components: components, - params: !(params.length || storyParams.length) + params: !!(params.length || storyParams.length) ? params.concat(storyParams) : [{ name: '', props: {} }], options: Object.assign(