Pridani stranky pro verejny prehled letu s danym kopilotem
This commit is contained in:
@@ -11,8 +11,8 @@ export const useCopilotsStore = defineStore('Copilots', {
|
||||
}),
|
||||
|
||||
actions: {
|
||||
fetchDetail(copilotId) {
|
||||
return apolloWrapper.query(COPILOT_DETAIL, {id: copilotId}).then(({data}) => data.copilot);
|
||||
fetchDetail(copilotId, pilotUsername) {
|
||||
return apolloWrapper.query(COPILOT_DETAIL, {id: copilotId, pilotUsername: pilotUsername}).then(({data}) => data.copilot);
|
||||
},
|
||||
fetch() {
|
||||
return apolloWrapper.query(COPILOTS_LIST).then(result => {
|
||||
|
||||
Reference in New Issue
Block a user