This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new f6d550b7fc fix: weight tooltip issue (#19397)
f6d550b7fc is described below
commit f6d550b7fc3643350483850064e65dbd3d026dc4
Author: Smart-Codi <[email protected]>
AuthorDate: Wed Apr 6 11:28:24 2022 -0400
fix: weight tooltip issue (#19397)
* fix: weight tooltip issue
* remove console
---
.../legacy-preset-chart-deckgl/src/layers/Screengrid/Screengrid.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Screengrid/Screengrid.jsx
b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Screengrid/Screengrid.jsx
index 061ccc46de..ca61ec0b81 100644
---
a/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Screengrid/Screengrid.jsx
+++
b/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Screengrid/Screengrid.jsx
@@ -43,7 +43,7 @@ function setTooltipContent(o) {
label={`${t('Longitude and Latitude')}: `}
value={`${o.coordinate[0]}, ${o.coordinate[1]}`}
/>
- <TooltipRow label={`${t('Weight')}: `} value={`${o.object.weight}`} />
+ <TooltipRow label={`${t('Weight')}: `} value={`${o.object.cellWeight}`}
/>
</div>
);
}