Skip to content

Commit

Permalink
Show info-panel for all clients
Browse files Browse the repository at this point in the history
  • Loading branch information
heikkipora committed Jul 29, 2020
1 parent f0d0304 commit 11cf079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SataakoApp extends React.Component {
y: Number(localStorage.getItem('sataako-fi-y')) || 8438349.32742,
zoom: Number(localStorage.getItem('sataako-fi-zoom')) || 7
},
collapsed: localStorage.getItem('sataako-fi-collapsed') === 'true'
collapsed: localStorage.getItem('sataako-fi-collapsed-v2') === 'true'
}
this.onResizeHandler = this.onResize.bind(this)
}
Expand All @@ -48,7 +48,7 @@ class SataakoApp extends React.Component {
showRadarFrame(this.map, currentFrame)
}
if (this.state.collapsed !== prevState.collapsed) {
localStorage.setItem('sataako-fi-collapsed', String(this.state.collapsed))
localStorage.setItem('sataako-fi-collapsed-v2', String(this.state.collapsed))
}
}

Expand Down

0 comments on commit 11cf079

Please sign in to comment.