Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

allow layer id modals in embed

Ed Plato385cac5a357f
diff --git a/web/js/containers/modal.js b/web/js/containers/modal.js
index 8ba036329..87fdeea28 100644
--- a/web/js/containers/modal.js
+++ b/web/js/containers/modal.js
@@ -134,7 +134,7 @@ class ModalContainer extends Component {
const isRestrictedDisplay = (isMobile && desktopOnly)
|| (!isMobile && mobileOnly)
- || (isEmbedModeActive && size === 'lg');
+ || (isEmbedModeActive && size === 'lg' && !id.includes('LAYER_INFO_MODAL'));
if (isRestrictedDisplay) {
return null;
}