Skip to content

Commit 5f04c91

Browse files
User flow changes for recreating supported vector index (#682)
* removed the if check * Add one more check for create vector index when chunks are exist without embeddings * removed local files * condition changes * chunks exists check * chunk exists without embeddings check * vector Index issue fixed * vector index with different dimension * Update graphDB_dataAccess.py --------- Co-authored-by: Pravesh Kumar <[email protected]>
1 parent 4be55f6 commit 5f04c91

File tree

1 file changed

+2
-2
lines changed
  • frontend/src/components/Popups/GraphEnhancementDialog/Deduplication

1 file changed

+2
-2
lines changed

frontend/src/components/Popups/GraphEnhancementDialog/Deduplication/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ export default function DeduplicationTab() {
8080
const onRemove = (nodeid: string, similarNodeId: string) => {
8181
setDuplicateNodes((prev) => {
8282
return prev.map((d) =>
83-
d.e.elementId === nodeid
83+
(d.e.elementId === nodeid
8484
? {
8585
...d,
8686
similar: d.similar.filter((n) => n.elementId != similarNodeId),
8787
}
88-
: d
88+
: d)
8989
);
9090
});
9191
};

0 commit comments

Comments
 (0)