Changes to Timetracking
This commit is contained in:
@@ -43,6 +43,7 @@ export const useDataStore = defineStore('data', {
|
||||
await this.fetchProjects()
|
||||
await this.fetchDocuments()
|
||||
await this.fetchMovements()
|
||||
await this.fetchTimes()
|
||||
await this.fetchSpaces()
|
||||
await this.fetchVehicles()
|
||||
this.loaded = true
|
||||
@@ -100,6 +101,10 @@ export const useDataStore = defineStore('data', {
|
||||
// @ts-ignore
|
||||
this.vehicles = (await supabase.from("vehicles").select()).data
|
||||
},
|
||||
async fetchTimes() {
|
||||
// @ts-ignore
|
||||
this.times = (await supabase.from("times").select()).data
|
||||
},
|
||||
async fetchDocuments() {
|
||||
// @ts-ignore
|
||||
this.documents = (await supabase.from("documents").select()).data
|
||||
|
||||
Reference in New Issue
Block a user