From b8af4aead13ae8f1f6cc64ea508a1861fd792558 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 26 Nov 2024 14:38:43 +0800 Subject: [PATCH] fix: update version show problem --- .../plugins/plugin-detail-panel/detail-header.tsx | 10 +++++++++- .../plugins/update-plugin/from-market-place.tsx | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx index 767366938f..75239a424f 100644 --- a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx +++ b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx @@ -201,7 +201,15 @@ const DetailHeader = ({ } /> {(hasNewVersion || isFromGitHub) && ( - + )}
diff --git a/web/app/components/plugins/update-plugin/from-market-place.tsx b/web/app/components/plugins/update-plugin/from-market-place.tsx index 071b143115..e4abd32aff 100644 --- a/web/app/components/plugins/update-plugin/from-market-place.tsx +++ b/web/app/components/plugins/update-plugin/from-market-place.tsx @@ -89,6 +89,7 @@ const UpdatePluginModal: FC = ({ }) onSave() } + // eslint-disable-next-line unused-imports/no-unused-vars catch (e) { setUploadStep(UploadStep.notStarted) }