From bb35818976e3c1f5b4142079af7fb5bd19f30ded Mon Sep 17 00:00:00 2001 From: yihong Date: Wed, 25 Dec 2024 21:36:41 +0800 Subject: [PATCH] fix: issue #12078 by redirect the right (#12088) Signed-off-by: yihong0618 --- web/app/components/app/create-app-dialog/app-list/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/app/create-app-dialog/app-list/index.tsx b/web/app/components/app/create-app-dialog/app-list/index.tsx index c9354ce2e1..f158f21d99 100644 --- a/web/app/components/app/create-app-dialog/app-list/index.tsx +++ b/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') })