From 8fc0df4a0adc853e334080efb5db6cf4219a9b43 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Fri, 10 Dec 2021 14:05:39 +0100 Subject: [PATCH] fix #608 Signed-off-by: Andrey Platov --- plugins/view-resources/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/view-resources/src/utils.ts b/plugins/view-resources/src/utils.ts index aa2e7a4330..1bf87df569 100644 --- a/plugins/view-resources/src/utils.ts +++ b/plugins/view-resources/src/utils.ts @@ -61,7 +61,7 @@ async function getAttributePresenter (client: Client, _class: Ref>, k } const presenter = await getResource(presenterMixin.presenter) return { - key: key, + key: typeof preserveKey === 'string' ? preserveKey : '', _class: attrClass, label: attribute.label, presenter