Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-2727 invalid tour parameters failure (#4367)

Tom Carielloc7aafa84c0d8
diff --git a/config/default/common/config/wv.json/storyOrder.json b/config/default/common/config/wv.json/storyOrder.json
index cca60d51c..6d653a245 100644
--- a/config/default/common/config/wv.json/storyOrder.json
+++ b/config/default/common/config/wv.json/storyOrder.json
@@ -5,7 +5,6 @@
"geostationary",
"fires_overview_2019",
"worldview_intro",
- "hls_intro",
"clouds",
"australia_fires_2019_2020",
"dust_storms_overview_2019",
diff --git a/web/js/app.js b/web/js/app.js
index ddc68cc34..4cd312046 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -143,9 +143,9 @@ class App extends React.Component {
<div id="wv-alert-container" className="wv-alert-container">
<FeatureAlert />
<Alerts />
+ {isTourActive ? <Tour /> : null}
</div>
<Sidebar />
- {isTourActive ? <Tour /> : null}
<div id="layer-modal" className="layer-modal" />
<div id="layer-settings-modal" />
<div id="eventsHolder" />
diff --git a/web/js/components/util/alert.js b/web/js/components/util/alert.js
index 4e9ae0836..9a1fc2ee1 100644
--- a/web/js/components/util/alert.js
+++ b/web/js/components/util/alert.js
@@ -90,8 +90,8 @@ export default class AlertUtil extends React.Component {
render() {
const { noPortal } = this.props;
return noPortal
- ? this.renderAlert()
- : createPortal(this.renderAlert(), document.getElementById('wv-alert-container'));
+ ? createPortal(this.renderAlert(), document.getElementById('wv-alert-container'))
+ : this.renderAlert();
}
}