mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 11:04:27 +08:00
Update layout.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
90443645b2
commit
8673d4433b
@ -17,7 +17,7 @@ export default function DatasetsLayout({ children }: { children: React.ReactNode
|
|||||||
router.replace('/apps')
|
router.replace('/apps')
|
||||||
}, [shouldRedirect, router])
|
}, [shouldRedirect, router])
|
||||||
|
|
||||||
if (!isWorkspaceReady || shouldRedirect) {
|
if (shouldRedirect) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user