Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(app): display obj label value if obj else none

dextmorgn1c4468b47f89
diff --git a/flowsint-app/src/components/sketches/details-panel/details-panel.tsx b/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
index 8206003a..0dbd8846 100644
--- a/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
+++ b/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
@@ -131,6 +131,9 @@ function KeyValueDisplay({ data, className }: KeyValueDisplayProps) {
) : (
<X className="h-4 w-4 text-red-600" />
)
+ } else if (typeof value === 'object') {
+ val = value?.["label"] ?? "N/A"
+ display = val
} else if (Array.isArray(value)) {
val = `${value.length} items`
display = val