From 218c7a49e5913148030019301133e73af61efadd Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Mon, 30 Sep 2024 22:48:45 +0000 Subject: [PATCH] fix: update references to `resetMap` -> `setMapCenter` --- web/src/components/MainDrawerContents.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/components/MainDrawerContents.vue b/web/src/components/MainDrawerContents.vue index 99b39f37..e3cccc87 100644 --- a/web/src/components/MainDrawerContents.vue +++ b/web/src/components/MainDrawerContents.vue @@ -2,7 +2,7 @@ import { ref, Ref, computed } from "vue"; import { availableProjects, currentProject, projectConfigMode } from "@/store"; import ProjectContents from "./ProjectContents.vue"; -import { getCurrentMapPosition, resetMap } from "@/storeFunctions"; +import { getCurrentMapPosition, setMapCenter } from "@/storeFunctions"; import { Project } from "@/types"; import { patchProject } from "@/api/rest"; @@ -38,7 +38,7 @@ export default { } return p; }); - resetMap(project); + setMapCenter(project); saving.value = "done"; }); } @@ -49,7 +49,7 @@ export default { searchText, saving, openProjectConfig, - resetMap, + setMapCenter, saveProjectMapLocation, }; }, @@ -141,7 +141,7 @@ export default { > - + Go to project default map position