From 11cf079d6ac31f4b198380bb55fd84bc6bbd413a Mon Sep 17 00:00:00 2001 From: Heikki Pora Date: Wed, 29 Jul 2020 23:10:05 +0300 Subject: [PATCH] Show info-panel for all clients --- src/client/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/index.js b/src/client/index.js index b19471f..7e6faf7 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -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) } @@ -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)) } }