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
3b58cb347e
commit
1e2bd19d32
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ function MetricsList({
|
|||
}, [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 defaultImageDimensions = { width: 600, height: 'auto' };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue