countFilterValues()

in src/components/Selection/index.ts [71:79]


                countFilterValues(pings: Ping[]) {
                    const ret = [];
                    for (const f of loaded().filters) {
                        const counts = f.countValues(pings)
                        if (counts.length == 0) continue;
                        ret.push({ filterLabel: f.label, counts });
                    }
                    return ret;
                }