From 65cc9f40de0e5d635ab049895234fe10fa1e1c3c Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Sat, 7 Oct 2023 11:31:21 +0800 Subject: [PATCH] fix: app store binding lost after theme upgraded Signed-off-by: Ryan Wang --- console/src/composables/use-app-download.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console/src/composables/use-app-download.ts b/console/src/composables/use-app-download.ts index 07c819e..69750c1 100644 --- a/console/src/composables/use-app-download.ts +++ b/console/src/composables/use-app-download.ts @@ -173,6 +173,7 @@ export function useAppDownload(app: Ref) { }); if (await checkPluginUpgradeStatus(matchedPlugin.value, app.value?.latestRelease?.spec.version)) { + await handleBindingPluginAppId({ plugin: upgradedPlugin }); return upgradedPlugin; } return; @@ -190,6 +191,7 @@ export function useAppDownload(app: Ref) { }); if (await checkThemeUpgradeStatus(matchedTheme.value, app.value?.latestRelease?.spec.version)) { + await handleBindingThemeAppId({ theme: upgradedTheme }); return upgradedTheme; } return;