From 0c4513838a7fbf3fe640e6f41468496e480a5d56 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 25 Jul 2023 16:26:00 +0100 Subject: [PATCH] Update manifestFromObject.ts --- packages/lib/services/plugins/utils/manifestFromObject.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lib/services/plugins/utils/manifestFromObject.ts b/packages/lib/services/plugins/utils/manifestFromObject.ts index d53c1259f..ca58cf731 100644 --- a/packages/lib/services/plugins/utils/manifestFromObject.ts +++ b/packages/lib/services/plugins/utils/manifestFromObject.ts @@ -37,6 +37,7 @@ export default function manifestFromObject(o: any): PluginManifest { }; const getIcons = (): Icons => { + if (!o.icons) return null; for (const size of [16, 32, 48, 128]) { if (o.icons[size as keyof Icons]) return o.icons; }