canonn-science / canonn-signals

MIT License
0 stars 1 forks source link

Page fails if no guesses available #5

Open teptec opened 2 years ago

teptec commented 2 years ago

I'll leave this system in the state which breaks the page: https://canonn-science.github.io/canonn-signals/index.html?system=660485314065

There are 9 bodies in the system. Three have biological signals.

I FSS'd the system then viewed the page. No potential biologicals were shown. I then DSS'd body 3. At this point the json for the system indicated one unknown biological signal on the planet and no guesses available:

image

On loading the page, console reported error, called sort on undefined:

image

That would be this code:

image

(I guess this is a side effect of reducing the number of false positives!)

Elfener99 commented 2 years ago

This commit should fix it. Going to leave this issue open in case I broke something else with it though.