Skip to content

Commit b220fc1

Browse files
committed
[EAM-1022] Add grid dataspy label when chips mode
1 parent 3114959 commit b220fc1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dist/ui/components/grids/eam/EAMGridHead.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ var EAMGridHead = function EAMGridHead(_ref) {
8989
}, showDataspyChips ? /*#__PURE__*/_react["default"].createElement(_core.Box, {
9090
display: "flex",
9191
alignItems: "center"
92-
}, /*#__PURE__*/_react["default"].createElement(_core.Box, {
92+
}, dataspies.length ? /*#__PURE__*/_react["default"].createElement(_core.Typography, {
93+
variant: "body2",
94+
color: "textSecondary"
95+
}, "Dataspy:") : null, /*#__PURE__*/_react["default"].createElement(_core.Box, {
9396
className: classes.dataspyChip
9497
}, dataspies.filter(Boolean).map(function (dataspy, i) {
9598
return /*#__PURE__*/_react["default"].createElement(_core.Chip, {

src/ui/components/grids/eam/EAMGridHead.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const EAMGridHead = ({
5050
<Grid item xs={12} sm={12} md={showDataspyChips ? 7 : 5}>
5151
{showDataspyChips ?
5252
<Box display="flex" alignItems="center">
53+
{dataspies.length ? <Typography variant="body2" color="textSecondary">Dataspy:</Typography> : null}
5354
<Box className={classes.dataspyChip}>
5455
{dataspies.filter(Boolean).map((dataspy, i) =>
5556
<Chip

0 commit comments

Comments
 (0)