Prvni naznak verejne casti, sprava profilu

This commit is contained in:
Michal Kváček
2023-08-09 00:26:59 +02:00
parent c4603cf090
commit 25250ae00e
31 changed files with 6505 additions and 786 deletions
+2 -2
View File
@@ -35,9 +35,9 @@ export const useFlightsStore = defineStore('Flights', {
}
return apolloWrapper.query(FLIGHT_DETAIL, {id}).then(result => result.data.flight);
},
fetch() {
fetch(username) {
return apolloWrapper
.query(FLIGHTS_LIST)
.query(FLIGHTS_LIST, {username})
.then(({data}) => {
this.items = data.flights;