Skip to content

Commit

Permalink
#10544: fix Embedded maps - details loads panel even if the details a…
Browse files Browse the repository at this point in the history
…ttribute value is NODATA (#10548)

Description:
- adding check of no data condition for show/hide details panel in toolbar
  • Loading branch information
mahmoudadel54 authored and offtherailz committed Oct 18, 2024
1 parent e67243d commit 04dd991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/plugins/Details.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"} };
Expand Down

0 comments on commit 04dd991

Please sign in to comment.