From bce8aa4afa760111a51bbe7bace2b9bd5b39d1f5 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 30 Jan 2020 10:45:52 +0100 Subject: [PATCH] Fix default value for web components prop table docs (#9655) Fix default value for web components prop table docs --- addons/docs/src/frameworks/web-components/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/docs/src/frameworks/web-components/config.js b/addons/docs/src/frameworks/web-components/config.js index c1c34a565a20..883c269e4e9f 100644 --- a/addons/docs/src/frameworks/web-components/config.js +++ b/addons/docs/src/frameworks/web-components/config.js @@ -11,7 +11,7 @@ function mapData(data) { type: { summary: item.type }, required: '', description: item.description, - defaultValue: { summary: item.defaultValue }, + defaultValue: { summary: item.default !== undefined ? item.default : item.defaultValue }, })); }