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 (geosolutions-it#10548)

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

Please sign in to comment.