Don't restore IsA via onpopstate

This commit is contained in:
Edward Betts 2021-07-16 11:57:25 +02:00
parent 5b378c7bff
commit 4c684b7b74

View file

@ -1066,8 +1066,6 @@ export default {
map_area: this.map_area, map_area: this.map_area,
hits: toRaw(this.hits), hits: toRaw(this.hits),
current_hit: toRaw(this.current_hit), current_hit: toRaw(this.current_hit),
isa_ticked: toRaw(this.isa_ticked),
isa_labels: toRaw(this.isa_labels),
current_osm: toRaw(this.current_osm), current_osm: toRaw(this.current_osm),
recent_search: this.recent_search, recent_search: this.recent_search,
}; };
@ -1415,11 +1413,6 @@ export default {
this.hits = state.hits; this.hits = state.hits;
this.current_hit = state.current_hit; this.current_hit = state.current_hit;
/*
this.isa_ticked = state.isa_ticked;
this.isa_labels = state.isa_labels;
*/
this.current_osm = state.current_osm; this.current_osm = state.current_osm;
this.map.setView(this.center, this.zoom); this.map.setView(this.center, this.zoom);