Skip to content

Commit 0ef3d9e

Browse files
committed
Fix integrate and derivate losing entitiy name
1 parent cf909f7 commit 0ef3d9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/filters/filters.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const filters = {
7979
};
8080
return {
8181
meta: {
82+
...meta,
8283
unit_of_measurement: `${meta.unit_of_measurement}/${unit}`,
8384
},
8485
xs,
@@ -101,7 +102,8 @@ const filters = {
101102
};
102103
return {
103104
meta: {
104-
unit_of_measurement: `${meta.unit_of_measurement}*${unit}`,
105+
...meta,
106+
unit_of_measurement: `${meta.unit_of_measurement}${unit}`,
105107
},
106108
xs: xs,
107109
ys: mapNumbers(ys, (y, i) => {

0 commit comments

Comments
 (0)