reichlab / predtimechart

MIT License
0 stars 1 forks source link

"Select Models" checkbox toggles first 100 models but should toggle those with forecasts #28

Closed matthewcornell closed 9 months ago

matthewcornell commented 9 months ago

From this slack thread:

I found a bug in this line:

selectableModels() {
    return this.state.models.filter(function (element, index) {
        return index < 100;  # bug!
    });
},

It should work like updateModelsList() does by splitting models into two groups - those with and without forecasts.