yangdx commited on
Commit
a29027e
·
1 Parent(s): 7540325

Update webui assets

Browse files
lightrag/api/webui/assets/index-BwFyYQzx.css DELETED
Binary file (52.2 kB)
 
lightrag/api/webui/assets/index-CR7GLPiB.css ADDED
Binary file (52.9 kB). View file
 
lightrag/api/webui/assets/{index-DJ53id6i.js → index-CSLDmoSD.js} RENAMED
Binary files a/lightrag/api/webui/assets/index-DJ53id6i.js and b/lightrag/api/webui/assets/index-CSLDmoSD.js differ
 
lightrag/api/webui/index.html CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
 
lightrag_webui/src/features/DocumentManager.tsx CHANGED
@@ -39,8 +39,8 @@ const getDisplayFileName = (doc: DocStatusResponse, maxLength: number = 20): str
39
  }
40
 
41
  // If filename is longer than maxLength, truncate it and add ellipsis
42
- return fileName.length > maxLength
43
- ? fileName.slice(0, maxLength) + '...'
44
  : fileName;
45
  };
46
 
@@ -140,7 +140,7 @@ export default function DocumentManager() {
140
  onClick={() => setShowFileName(!showFileName)}
141
  className="border-gray-200 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800"
142
  >
143
- {showFileName
144
  ? t('documentPanel.documentManager.hideButton')
145
  : t('documentPanel.documentManager.showButton')
146
  }
 
39
  }
40
 
41
  // If filename is longer than maxLength, truncate it and add ellipsis
42
+ return fileName.length > maxLength
43
+ ? fileName.slice(0, maxLength) + '...'
44
  : fileName;
45
  };
46
 
 
140
  onClick={() => setShowFileName(!showFileName)}
141
  className="border-gray-200 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800"
142
  >
143
+ {showFileName
144
  ? t('documentPanel.documentManager.hideButton')
145
  : t('documentPanel.documentManager.showButton')
146
  }