Lots of improvements
This commit is contained in:
parent
205302dbb8
commit
eb02b5832b
39 changed files with 699 additions and 271 deletions
|
|
@ -81,7 +81,8 @@ export function buildFilterString(filters: FeatureFilters, features: FeatureMeta
|
|||
return `${name}:${(value as string[]).join('|')}`;
|
||||
}
|
||||
const [min, max] = value as [number, number];
|
||||
const maxStr = meta?.absolute && max === meta.max ? 'inf' : String(max);
|
||||
const isAtMax = meta?.histogram ? max >= meta.histogram.max : max === meta?.max;
|
||||
const maxStr = meta?.absolute && isAtMax ? 'inf' : String(max);
|
||||
return `${name}:${min}:${maxStr}`;
|
||||
})
|
||||
.join(';;');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue