dominique-mueller/web-extension-github-travis-status

Job oder incorrect when having 10+ jobs

Closed this issue · 0 comments

The sorting of the job numbers (acting as the name) becomes incorrect when having 10 or more jobs:

bug

I assume the reason is that the soring happens using parseFloat() (see https://github.com/dominique-mueller/web-extension-github-travis-status/blob/develop/src/background/travis-ci/travis-ci.client.ts#L50). Instead, we should probably sort by decimal-digits only.