Map filename added

This commit is contained in:
Cindy Chang
2024-08-16 10:47:17 +08:00
parent 772302d079
commit 43cbfb0529
5 changed files with 45 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ export default defineStore('pageAdminStore', {
isPagePending: false,
shouldKeepPreviousPage: false, // false -- meaning modal is not pressed as "NO"
activePageComputedByRoute: "MAP",
currentMapFile: '',
}),
getters: {
},
@@ -97,5 +98,8 @@ export default defineStore('pageAdminStore', {
printPageAdiminLog && console.log('clearShouldKeepPreviousPageBoolean()');
this.shouldKeepPreviousPage = false;
},
setCurrentMapFile(fileName){
this.currentMapFile = fileName;
},
},
})