diff --git a/src/components/DataGroups/AudioDataGroup.js b/src/components/DataGroups/AudioDataGroup.js
index 495c0de5..24b7c52a 100644
--- a/src/components/DataGroups/AudioDataGroup.js
+++ b/src/components/DataGroups/AudioDataGroup.js
@@ -2,10 +2,10 @@ import { MediaPlayer } from "../Common/MediaPlayer/MediaPlayer";
export const AudioDataGroup = ({ value }) => {
return (
-
+
);
};
-AudioDataGroup.height = 42;
+AudioDataGroup.height = 32;
diff --git a/src/components/DataGroups/TextDataGroup.js b/src/components/DataGroups/TextDataGroup.js
index 052a87f6..e7437875 100644
--- a/src/components/DataGroups/TextDataGroup.js
+++ b/src/components/DataGroups/TextDataGroup.js
@@ -1,21 +1,27 @@
+import { Tooltip } from "../Common/Tooltip/Tooltip";
+
const valueToString = (value) => {
if (typeof value === "string") return value;
try {
return JSON.stringify(value);
} catch {
- return value.toString();
+ return (value ?? "").toString();
}
};
export const TextDataGroup = ({ value }) => {
+ const output = valueToString(value);
+
return (
-
- {value ? valueToString(value) : ""}
-
+
+
+ {output}
+
+
);
};
-TextDataGroup.height = 77;
+TextDataGroup.height = 32;