Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
21 stars 12 forks source link

[Bug] The challenge search bar no longer works #2686

Closed tschaffter closed 1 month ago

tschaffter commented 1 month ago

Is there an existing issue for this?

What product(s) are you seeing the problem on?

OpenChallenges

Current behavior

The following error is thrown in the browser console when typing search terms in the challenge search bar:

ERROR TypeError: this.loadedPages[t] is undefined
    onSearchChange http://localhost:8000/892.220cc872db07730a.js:1
    template http://localhost:8000/892.220cc872db07730a.js:1
    lC http://localhost:8000/main.370f912e5444fe4c.js:1
    a http://localhost:8000/main.370f912e5444fe4c.js:1
    decoratePreventDefault http://localhost:8000/main.370f912e5444fe4c.js:1
    invokeTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    onInvokeTask http://localhost:8000/main.370f912e5444fe4c.js:1
    invokeTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    runTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    invokeTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    O http://localhost:8000/polyfills.12d090d007360eb1.js:1
    N http://localhost:8000/polyfills.12d090d007360eb1.js:1
    U http://localhost:8000/polyfills.12d090d007360eb1.js:1
    c http://localhost:8000/polyfills.12d090d007360eb1.js:1
    scheduleTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    onScheduleTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    scheduleTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    scheduleTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    scheduleEventTask http://localhost:8000/polyfills.12d090d007360eb1.js:1
    u http://localhost:8000/polyfills.12d090d007360eb1.js:1
    addEventListener http://localhost:8000/main.370f912e5444fe4c.js:1
    addEventListener http://localhost:8000/main.370f912e5444fe4c.js:1
    listen http://localhost:8000/main.370f912e5444fe4c.js:1
    listen http://localhost:8000/main.370f912e5444fe4c.js:1
    Lv http://localhost:8000/main.370f912e5444fe4c.js:1
    Rv http://localhost:8000/main.370f91
...

Expected behavior

The challenges should be filtered. The error should not appear.

Anything else?

Commit ID

No response

Are you developing inside the dev container?

Code of Conduct