fix: update dependencies and improve app detail handling (#14444)
This commit is contained in:
parent
1e3197a1ea
commit
4fbe52da40
5 changed files with 10 additions and 10 deletions
|
|
@ -126,7 +126,7 @@ const Apps = ({
|
|||
icon_background,
|
||||
description,
|
||||
}) => {
|
||||
const { export_data } = await fetchAppDetail(
|
||||
const { export_data, mode } = await fetchAppDetail(
|
||||
currApp?.app.id as string,
|
||||
)
|
||||
try {
|
||||
|
|
@ -149,7 +149,7 @@ const Apps = ({
|
|||
if (app.app_id)
|
||||
await handleCheckPluginDependencies(app.app_id)
|
||||
localStorage.setItem(NEED_REFRESH_APP_LIST_KEY, '1')
|
||||
getRedirection(isCurrentWorkspaceEditor, { id: app.app_id }, push)
|
||||
getRedirection(isCurrentWorkspaceEditor, { id: app.app_id, mode }, push)
|
||||
}
|
||||
catch (e) {
|
||||
Toast.notify({ type: 'error', message: t('app.newApp.appCreateFailed') })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue