mirror of
https://github.com/langgenius/dify.git
synced 2026-05-10 22:28:55 +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')
|
||||
}, [shouldRedirect, router])
|
||||
|
||||
if (!isWorkspaceReady || shouldRedirect) {
|
||||
if (shouldRedirect) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user