From 14c12f4b79dd1ef48718407f5158f3c0a481beda Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Thu, 9 Apr 2020 19:00:01 +0300 Subject: [PATCH 1/2] fix: add lineWidth to Shared_DeckGL.jsx --- .../src/explore/controlPanels/Shared_DeckGL.jsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx b/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx index 61344feef828..65520dbc3ee2 100644 --- a/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx +++ b/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx @@ -234,6 +234,18 @@ export const lineColumn = { }, }; +export const lineWidth = { + name: 'line_width', + config: { + type: 'TextControl', + label: t('Line width'), + renderTrigger: true, + isInt: true, + default: 10, + description: t('The width of the lines'), + } +}; + export const fillColorPicker = { name: 'fill_color_picker', config: { From 649202c2da05081c5b032ff9e537f0bfb0c8c38e Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Thu, 9 Apr 2020 21:29:58 +0300 Subject: [PATCH 2/2] linting --- superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx b/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx index 65520dbc3ee2..a08ee476c9f6 100644 --- a/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx +++ b/superset-frontend/src/explore/controlPanels/Shared_DeckGL.jsx @@ -243,7 +243,7 @@ export const lineWidth = { isInt: true, default: 10, description: t('The width of the lines'), - } + }, }; export const fillColorPicker = {