From 3e6a29e2d93bb0cdc6df9779045d58d06439f9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Tue, 23 Mar 2021 12:00:07 +0100 Subject: [PATCH] EZP-32396: parseInt rootLocationId (#1726) --- src/bundle/Resources/public/js/scripts/admin.content.tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/js/scripts/admin.content.tree.js b/src/bundle/Resources/public/js/scripts/admin.content.tree.js index 518817022a..b91203580b 100644 --- a/src/bundle/Resources/public/js/scripts/admin.content.tree.js +++ b/src/bundle/Resources/public/js/scripts/admin.content.tree.js @@ -51,7 +51,7 @@ React.createElement(eZ.modules.ContentTree, { userId, currentLocationPath, - rootLocationId: treeRootLocationId, + rootLocationId: parseInt(treeRootLocationId, 10), restInfo: { token, siteaccess }, }), contentTreeWrapper