From 3ee96e488814b71c171e7efc1bef8ea8f8ba8d82 Mon Sep 17 00:00:00 2001 From: buqiyuan <1743369777@qq.com> Date: Fri, 9 Sep 2022 17:29:57 +0800 Subject: [PATCH] fix: extension installed list no correct --- .../browser/src/app/pages/extension/extension.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workbench/browser/src/app/pages/extension/extension.service.ts b/src/workbench/browser/src/app/pages/extension/extension.service.ts index 742ef4914..c7b68505c 100644 --- a/src/workbench/browser/src/app/pages/extension/extension.service.ts +++ b/src/workbench/browser/src/app/pages/extension/extension.service.ts @@ -75,18 +75,18 @@ export class ExtensionService { const { code, data, modules } = window.eo.installModule(id); if (code === 0) { this.localExtensions = modules; - this.updateExtensionIDs(); + this.extensionIDs = this.updateExtensionIDs(); return true; } console.error(data); return false; } uninstall(id): boolean { - console.log('Install module:', id); + console.log('Uninstall module:', id); const { code, data, modules } = window.eo.uninstallModule(id); if (code === 0) { this.localExtensions = modules; - this.updateExtensionIDs(); + this.extensionIDs = this.updateExtensionIDs(); return true; } console.error(data);