Skip to content

Cost Index 0 not being considered by PERF pages #9939

Open
@becas22

Description

@becas22

Simulator

2020

Aircraft Version

Development (4k)

Build info

{
    "built": "2025-03-21T10:24:43+00:00",
    "ref": "refs/heads/master",
    "sha": "d110e51d2b56917c64f2e7c03c1d7a7d70fda228",
    "actor": "tracernz",
    "event_name": "manual",
    "pretty_release_name": "master:d110e51d",
    "version": "a380x-v0.13.0-dev.d110e51"
}

Describe the bug

When setting cost index 0 in the INIT page, PERF pages display -- (dashes) for CI field.
Other CIs work as expected.

Expected behavior

I would expect the PERF page to display the selected CI in the INIT page, even though it is 0.

Steps to reproduce

  1. Load a route
  2. Put CI 0
  3. Check PERF pages CI field

References (optional)

Image~

Image

Image

Image

Additional info (optional)

No response

Discord Username (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A380XRelated to the A380X aircraftBugSomething isn't workingGood First IssueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions