Skip to content

Commit

Permalink
/jenkins deploy-sit
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Feb 26, 2024
1 parent e3d22dc commit bcf38b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class App extends React.Component {
parameters,
} = this.props;
const appClass = `wv-content ${isEmbedModeActive ? 'embed-mode' : ''}`;
console.log(`isTourActive: ${isTourActive}, numberOutagesUnseen: ${numberOutagesUnseen}, isMobile ${isMobile}, isEmbedModeActive ${isEmbedModeActive}, Condition ${isTourActive && !numberOutagesUnseen && (!isMobile || isEmbedModeActive)}`)

Check failure on line 160 in web/js/app.js

View workflow job for this annotation

GitHub Actions / macOS-latest, Node 20

Missing semicolon

Check failure on line 160 in web/js/app.js

View workflow job for this annotation

GitHub Actions / ubuntu-latest, Node 20

Missing semicolon

Check failure on line 160 in web/js/app.js

View workflow job for this annotation

GitHub Actions / windows-latest, Node 20

Missing semicolon
return (
<div className={appClass} id="wv-content" data-role="content">
{!isMobile && !isEmbedModeActive && <LocationSearch />}
Expand All @@ -166,7 +167,7 @@ class App extends React.Component {
<div id="wv-alert-container" className="wv-alert-container">
<FeatureAlert />
<Alerts />
{isTourActive && numberOutagesUnseen === 0 && (!isMobile || isEmbedModeActive) ? <Tour /> : null}
{isTourActive && !numberOutagesUnseen && (!isMobile || isEmbedModeActive) ? <Tour /> : null}
</div>
<Sidebar />
<div id="layer-modal" className="layer-modal" />
Expand Down
2 changes: 1 addition & 1 deletion web/js/containers/tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ class Tour extends React.Component {
showDisabledAlert,
tourEnded,
} = this.state;
console.log('Tour');
console.log('Tour render');
if (showDisabledAlert && tourEnded) return this.renderDisableAlert();

if (showSupportAlert) {
Expand Down

0 comments on commit bcf38b3

Please sign in to comment.