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) (#10558)

Description:
- adding check of no data condition for show/hide details panel in toolbar
  • Loading branch information
mahmoudadel54 committed Sep 19, 2024
1 parent f9d65b0 commit fe9f97f
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 fe9f97f

Please sign in to comment.