Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: update resource URL in Action component (#11878)

huangkairandde8e77c207c
diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx
index 413c05e2233..e4df21317a0 100644
--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx
+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/Action.tsx
@@ -66,7 +66,7 @@ const Actions = memo<ActionsProps>(({ id, type, enabled }) => {
return;
}
- window.open(`/knowledge?file=${id}`);
+ window.open(`/resource?file=${id}`);
},
},
{