fix signed out home page
This commit is contained in:
parent
0741743660
commit
9f2a61ce32
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,12 @@ const ReactApp = {
|
||||||
// TODO: also handle page title updates
|
// TODO: also handle page title updates
|
||||||
switch (this.state.location.pathname.split('/')[1]) {
|
switch (this.state.location.pathname.split('/')[1]) {
|
||||||
case '':
|
case '':
|
||||||
|
if (Active.Mapper) $('#yield').hide()
|
||||||
|
ExploreMaps.updateFromPath(this.state.location.pathname)
|
||||||
|
self.mapId = null
|
||||||
|
Active.Map = null
|
||||||
|
Active.Topic = null
|
||||||
|
break
|
||||||
case 'explore':
|
case 'explore':
|
||||||
$('#yield').hide()
|
$('#yield').hide()
|
||||||
ExploreMaps.updateFromPath(this.state.location.pathname)
|
ExploreMaps.updateFromPath(this.state.location.pathname)
|
||||||
|
|
Loading…
Add table
Reference in a new issue