From 1d502419c431846da88dad4ccc32056b977ca7fd Mon Sep 17 00:00:00 2001 From: Avi Avni Date: Sun, 21 Apr 2024 14:40:59 +0300 Subject: [PATCH] fix attribute name --- app/graph/DataPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graph/DataPanel.tsx b/app/graph/DataPanel.tsx index 318d2507..3af69da7 100644 --- a/app/graph/DataPanel.tsx +++ b/app/graph/DataPanel.tsx @@ -17,7 +17,7 @@ const excludedProperties = new Set([ // eslint-disable-next-line @typescript-eslint/no-explicit-any export default function DataPanel({ object }: Props) { const rowClass = "dark:hover:bg-slate-700 hover:bg-gray-400 border-y-[1px] border-y-gray-700" - const type = object.sucre ? "edge" : "node" + const type = object.source ? "edge" : "node" return ( {type} properties