mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-03 17:15:08 +08:00
Fix: Bug fixed (#12345)
### What problem does this PR solve? Fix: Bug fixed - Memory type multilingual display - Name modification is prohibited in Data source - Jump directly to Metadata settings ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -7,8 +7,8 @@ export const useHandleMenuClick = () => {
|
||||
const { id } = useParams();
|
||||
|
||||
const handleMenuClick = useCallback(
|
||||
(key: Routes) => () => {
|
||||
navigate(`${Routes.DatasetBase}${key}/${id}`);
|
||||
(key: Routes, data?: any) => () => {
|
||||
navigate(`${Routes.DatasetBase}${key}/${id}`, { state: data });
|
||||
},
|
||||
[id, navigate],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user