From 1de489bb087b58e168b0f9d20c3e2bc0f6a3e015 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 27 Nov 2024 17:44:01 +0300 Subject: [PATCH] fix --- src/pages/Permissions/Permissions.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/Permissions/Permissions.tsx b/src/pages/Permissions/Permissions.tsx index a4ac292..906bcbc 100644 --- a/src/pages/Permissions/Permissions.tsx +++ b/src/pages/Permissions/Permissions.tsx @@ -98,9 +98,14 @@ export function Permissions() { const decodedData = decodeAttestationData(attestation.data); const keyData = decodedData.find((field) => field.name === 'key'); + const provider = decodedData.find((field) => field.name === 'provider'); return { ...attestation, + provider: + typeof provider?.value.value === 'string' + ? provider.value.value + : undefined, key: typeof keyData?.value.value === 'string' ? keyData.value.value