Skip to content

[Bug] Escaping from "preferences" causes error #5949

Description

@Shenkeeee

Describe the Bug

Escaping from "preferences" tab in settings causes error.
TypeError: Cannot destructure property 'viewport' of 'b(...)' as it is undefined.

Steps to Reproduce

  1. Open viewer: https://viewer.ohif.org/ or https://viewer-dev.ohif.org/
  2. Open settings on the top right, press Preferences
  3. Press escape
  4. Observe mentioned error

The current behavior

Error thrown

The expected behavior

No error

System Information

Is reproducible online, no sysinfo needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugsBug reported, reproducible, and verified.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions