From e8a7f71f31227be654eb410511abd137a3f3a9d4 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 6 Aug 2021 09:15:08 +0100 Subject: [PATCH] Plugins: Fix plugin signature status (#37583) (#37625) (cherry picked from commit 6ff599e25aed7a2b573e79ac04e94ca50f540501) Co-authored-by: Jack Westbrook --- public/app/features/plugins/admin/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/plugins/admin/helpers.ts b/public/app/features/plugins/admin/helpers.ts index 8a93ed7cb93..3a4b997dd93 100644 --- a/public/app/features/plugins/admin/helpers.ts +++ b/public/app/features/plugins/admin/helpers.ts @@ -124,7 +124,7 @@ export function mapToCatalogPlugin(local?: LocalPlugin, remote?: RemotePlugin): popularity: remote?.popularity || 0, publishedAt: remote?.createdAt || '', type: remote?.typeCode || local?.type, - signature: local?.signature || hasRemoteSignature ? PluginSignatureStatus.valid : PluginSignatureStatus.missing, + signature: local?.signature || (hasRemoteSignature ? PluginSignatureStatus.valid : PluginSignatureStatus.missing), updatedAt: remote?.updatedAt || local?.info.updated || '', version, };