fix: issue #12078 by redirect the right (#12088)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
pull/12100/head
yihong 1 year ago committed by GitHub
parent 822af70dce
commit bb35818976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -147,7 +147,7 @@ const Apps = ({
if (onSuccess)
onSuccess()
localStorage.setItem(NEED_REFRESH_APP_LIST_KEY, '1')
getRedirection(isCurrentWorkspaceEditor, app, push)
getRedirection(isCurrentWorkspaceEditor, { id: app.app_id }, push)
}
catch (e) {
Toast.notify({ type: 'error', message: t('app.newApp.appCreateFailed') })

Loading…
Cancel
Save