From 9e61684851a3b996104fac92b418fc5f9eebb1c2 Mon Sep 17 00:00:00 2001 From: Fatimah Zulfiqar Date: Wed, 2 Oct 2024 10:11:19 +0200 Subject: [PATCH] details: remove parsing for name field --- .../js/invenio_administration/src/details/details.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio_administration/assets/semantic-ui/js/invenio_administration/src/details/details.js b/invenio_administration/assets/semantic-ui/js/invenio_administration/src/details/details.js index 70ce9ed..56f2555 100644 --- a/invenio_administration/assets/semantic-ui/js/invenio_administration/src/details/details.js +++ b/invenio_administration/assets/semantic-ui/js/invenio_administration/src/details/details.js @@ -27,7 +27,7 @@ const listUIEndpoint = domContainer.dataset.listEndpoint; const resourceSchema = JSON.parse(domContainer.dataset?.resourceSchema); const requestHeaders = JSON.parse(domContainer.dataset?.requestHeaders); const uiSchema = JSON.parse(domContainer.dataset?.uiConfig); -const name = JSON.parse(domContainer.dataset?.name); +const name = domContainer.dataset?.name; domContainer && ReactDOM.render(