[FlightPage] Fix display of airport
ClosedPublic

Authored by broulik on Nov 24 2019, 8:48 AM.

Details

Summary

Handle the case when airport name isn't available

Test Plan

Now shows "TXL" instead of just "GERMANY"

Diff Detail

Repository
R1007 Itinerary - Travel Assistance Application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Nov 24 2019, 8:48 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 24 2019, 8:48 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
broulik requested review of this revision.Nov 24 2019, 8:48 AM
nicolasfella added inline comments.
src/app/FlightPage.qml
39

else is not really needed since you return

vkrause accepted this revision.Nov 24 2019, 7:34 PM
This revision is now accepted and ready to land.Nov 24 2019, 7:34 PM
This revision was automatically updated to reflect the committed changes.