Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Pass filetype to react component when updated #851

Benjamin Kingc91b4f27901c
diff --git a/web/js/image/panel.js b/web/js/image/panel.js
index 282d49b82..7b5000359 100644
--- a/web/js/image/panel.js
+++ b/web/js/image/panel.js
@@ -144,7 +144,8 @@ export function imagePanel (models, ui, config, dialogConfig) {
imgHeight: imgHeight,
imgWidth: imgWidth,
resolutions: resolutions,
- fileTypes: fileTypes
+ fileTypes: fileTypes,
+ fileType: imgFormat
};
};
var renderPanel = function(options, mountEl) {