fix(dashboard): update filter condition in MetricsList
Change the filter type comparison from checking against 'all' to checking against an empty string. This ensures proper filtering behavior when filtering metrics in the dashboard component.
This commit is contained in:
parent
0500f30d14
commit
9f681aca45
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ function MetricsList({
|
||||||
}, [metricStore]);
|
}, [metricStore]);
|
||||||
|
|
||||||
|
|
||||||
const isFiltered = metricStore.filter.query !== '' || metricStore.filter.type !== 'all';
|
const isFiltered = metricStore.filter.query !== '' || metricStore.filter.type !== '';
|
||||||
|
|
||||||
const searchImageDimensions = { width: 60, height: 'auto' };
|
const searchImageDimensions = { width: 60, height: 'auto' };
|
||||||
const defaultImageDimensions = { width: 600, height: 'auto' };
|
const defaultImageDimensions = { width: 600, height: 'auto' };
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue