fix: workflow route

This commit is contained in:
StyleZhang
2024-03-04 14:53:48 +08:00
parent ac40eb8d87
commit bd205f63cc
6 changed files with 17 additions and 15 deletions

View File

@ -90,12 +90,12 @@ const Apps = ({
})
localStorage.setItem(NEED_REFRESH_APP_LIST_KEY, '1')
if (!isCurrentWorkspaceManager) {
router.push(`/app/${app.id}/'overview'`)
router.push(`/app/${app.id}/overview`)
}
else {
if (app.mode === 'workflow' || app.mode === 'advanced-chat')
router.push(`/app/${app.id}/'workflow'`)
router.push(`/app/${app.id}/'configuration'`)
router.push(`/app/${app.id}/workflow`)
router.push(`/app/${app.id}/configuration`)
}
}
catch (e) {