Skip to content

Commit

Permalink
geosolutions-it#10544: fix Embedded maps - details loads panel even i…
Browse files Browse the repository at this point in the history
…f the details attribute value is NODATA

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

Please sign in to comment.