Fix server switching
This commit is contained in:
parent
234b2d0a6b
commit
ac575e4ee9
4
src/index.d.ts
vendored
4
src/index.d.ts
vendored
@ -182,9 +182,9 @@ interface LiveAtlasMarkerSetContents {
|
|||||||
|
|
||||||
interface LiveAtlasMarker {
|
interface LiveAtlasMarker {
|
||||||
tooltip: string;
|
tooltip: string;
|
||||||
isTooltipHTML: boolean;
|
tooltipHTML?: string;
|
||||||
popup?: string;
|
popup?: string;
|
||||||
isPopupHTML: boolean;
|
isPopupHTML?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LiveAtlasPointMarker extends LiveAtlasMarker {
|
interface LiveAtlasPointMarker extends LiveAtlasMarker {
|
||||||
|
@ -97,8 +97,8 @@ export const actions: ActionTree<State, State> & Actions = {
|
|||||||
|
|
||||||
await state.currentMapProvider!.loadServerConfiguration();
|
await state.currentMapProvider!.loadServerConfiguration();
|
||||||
|
|
||||||
//Skip default map/ui visibility logic if not first load (i.e config reload after hash change)
|
//Skip default map/ui visibility logic if we already have a map selected (i.e config reload after hash change)
|
||||||
if(!state.firstLoad) {
|
if(state.currentMap) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user