From 6d434edfafa3e30c9983e0321aa3d098d1dcfbf0 Mon Sep 17 00:00:00 2001 From: "Leo Y. Li" Date: Sun, 31 Mar 2019 19:14:43 -0400 Subject: [PATCH] #12: fix typo --- addons/addon-contexts/src/libs/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(