From e324e59930557cd0345f795604d9c3d1feb0009e Mon Sep 17 00:00:00 2001 From: "Junjie.M" <118170653@qq.com> Date: Thu, 20 Mar 2025 21:37:45 +0800 Subject: [PATCH] fix import DSL install Github plugin failed (#16362) --- web/service/use-plugins.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/service/use-plugins.ts b/web/service/use-plugins.ts index dc877969ba..9b5bab587e 100644 --- a/web/service/use-plugins.ts +++ b/web/service/use-plugins.ts @@ -187,7 +187,8 @@ export const useInstallOrUpdate = ({ if (item.type === 'github') { const data = item as GitHubItemAndMarketPlaceDependency // From local bundle don't have data.value.github_plugin_unique_identifier - if (!data.value.github_plugin_unique_identifier) { + uniqueIdentifier = data.value.github_plugin_unique_identifier! + if (!uniqueIdentifier) { const { unique_identifier } = await post('/workspaces/current/plugin/upload/github', { body: { repo: data.value.repo!,