From cb2c2160ae0eb9f3c21f4462def16fb0a1b5043d Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 29 Jan 2021 21:54:08 +0000 Subject: [PATCH] Desktop: Fixed updating plugins --- .../gui/ConfigScreen/controls/plugins/PluginsStates.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/gui/ConfigScreen/controls/plugins/PluginsStates.tsx b/packages/app-desktop/gui/ConfigScreen/controls/plugins/PluginsStates.tsx index be49ea0a2..9533172e6 100644 --- a/packages/app-desktop/gui/ConfigScreen/controls/plugins/PluginsStates.tsx +++ b/packages/app-desktop/gui/ConfigScreen/controls/plugins/PluginsStates.tsx @@ -114,7 +114,7 @@ export default function(props: Props) { let cancelled = false; async function fetchPluginIds() { - const pluginIds = await repoApi().canBeUpdatedPlugins(pluginItems as any); + const pluginIds = await repoApi().canBeUpdatedPlugins(pluginItems.map(p => p.manifest)); if (cancelled) return; const conv: Record = {}; pluginIds.forEach(id => conv[id] = true);