Add and store user preferences

This commit is contained in:
Conor McNamara
2023-03-15 12:04:58 +00:00
parent 97ff51e5d4
commit 89dcd43afe
4 changed files with 94 additions and 38 deletions

View File

@ -10,6 +10,7 @@ export const store = reactive({
rawData: {},
displaySelectedTrain: false,
displayedSelectedStation: false,
loggedIn: false,
setInsights(insights) {
this.insights = insights
@ -49,5 +50,9 @@ export const store = reactive({
setDisplaySelectedStation(bool) {
this.displaySelectedStation = bool
},
setLoginStatus(bool) {
this.loggedIn = bool
}
})