gzdaniel commited on
Commit
3dcb884
·
1 Parent(s): 2dfb321

Hide created_at property on webui

Browse files
lightrag_webui/src/components/graph/PropertiesView.tsx CHANGED
@@ -294,6 +294,7 @@ const NodePropertiesView = ({ node }: { node: NodeType }) => {
294
  {Object.keys(node.properties)
295
  .sort()
296
  .map((name) => {
 
297
  return (
298
  <PropertyRow
299
  key={name}
@@ -360,6 +361,7 @@ const EdgePropertiesView = ({ edge }: { edge: EdgeType }) => {
360
  {Object.keys(edge.properties)
361
  .sort()
362
  .map((name) => {
 
363
  return (
364
  <PropertyRow
365
  key={name}
 
294
  {Object.keys(node.properties)
295
  .sort()
296
  .map((name) => {
297
+ if (name === 'created_at') return null; // Hide created_at property
298
  return (
299
  <PropertyRow
300
  key={name}
 
361
  {Object.keys(edge.properties)
362
  .sort()
363
  .map((name) => {
364
+ if (name === 'created_at') return null; // Hide created_at property
365
  return (
366
  <PropertyRow
367
  key={name}