Procházet zdrojové kódy

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

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong před 3 měsíci
rodič
revize
bb35818976

+ 1 - 1
web/app/components/app/create-app-dialog/app-list/index.tsx

@@ -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') })