Detail planovace, verejne planovain
This commit is contained in:
@@ -19,11 +19,16 @@ fragment flightPlanFullInfo on FlightPlan {
|
||||
isDefaultName
|
||||
isPublic
|
||||
isEditableByCopilot
|
||||
description
|
||||
|
||||
aircraft {
|
||||
id
|
||||
callSign
|
||||
seats
|
||||
isPublic
|
||||
titlePhoto {
|
||||
thumbnailUrl
|
||||
}
|
||||
}
|
||||
track {
|
||||
bearing
|
||||
|
||||
@@ -12,8 +12,8 @@ ${FRAGMENT_FLIGHT_PLAN_LIST_INFO}
|
||||
`;
|
||||
|
||||
export const FLIGHT_PLAN_DETAIL = gql`
|
||||
query flightPlansDetail($id: Int!) {
|
||||
flightPlan(id: $id) {
|
||||
query flightPlansDetail($id: Int!, $username: String, $public: Boolean) {
|
||||
flightPlan(id: $id, username: $username, public: $public) {
|
||||
...flightPlanFullInfo
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user