Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(atsu): Departure request page not updating after successful station insert #8279

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
1. [FMS] Improve layout of PERF CLB, PERF CRZ and PERF DES pages according to H3 - @BlueberryKing (BlueberryKing)
1. [FMS] Implement CHECK SPEED MODE message - @BlueberryKing (BlueberryKing)
1. [PFD] The ILS frequency is now visible even when a LOC is not received - @tracernz (Mike)
1. [ATSU] Fixed GROUND REQ page not updating after successful station insert - @BravoMike99 (bruno_pt99)

## 0.11.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class CDUAtcDepartReq {

static ShowPage1(mcdu, store = CDUAtcDepartReq.CreateDataBlock()) {
mcdu.clearDisplay();
mcdu.page.Current = mcdu.page.CDUAtcDepartReq;
BravoMike99 marked this conversation as resolved.
Show resolved Hide resolved

if (store.firstCall && store.callsign === "") {
if (mcdu.atsu.flightNumber().length !== 0) {
Expand Down Expand Up @@ -205,7 +206,7 @@ class CDUAtcDepartReq {
store.stationManual = true;
}

if (mcdu.page.Current === mcdu.page.ATCDepartReq) {
if (mcdu.page.Current === mcdu.page.CDUAtcDepartReq) {
CDUAtcDepartReq.ShowPage1(mcdu, store);
}
});
Expand Down