From 04dd99151dcac354946288506e6dd17e84388b73 Mon Sep 17 00:00:00 2001 From: mahmoud adel <58145645+mahmoudadel54@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:40:04 +0300 Subject: [PATCH] #10544: fix Embedded maps - details loads panel even if the details attribute value is NODATA (#10548) Description: - adding check of no data condition for show/hide details panel in toolbar --- web/client/plugins/Details.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/plugins/Details.jsx b/web/client/plugins/Details.jsx index d0e8025c2f..a285c57311 100644 --- a/web/client/plugins/Details.jsx +++ b/web/client/plugins/Details.jsx @@ -133,7 +133,7 @@ export default createPlugin('Details', { action: openDetailsPanel, selector: (state) => { const detailsUri = detailsUriSelector(state); - if (detailsUri) { + if (detailsUri && detailsUri !== 'NODATA') { return {}; } return { style: {display: "none"} };