fix(ui): fix text size

This commit is contained in:
sylenien 2022-05-19 13:15:36 +02:00 committed by Delirium
parent c82efbeb6b
commit d08280b709
2 changed files with 2 additions and 1 deletions

View file

@ -95,7 +95,7 @@ function WidgetWrapper(props: Props) {
<div
className={cn(
stl.drillDownMessage,
'disabled text-gray invisible group-hover:visible')}
'disabled text-gray text-sm invisible group-hover:visible')}
>
{isPredefined ? 'Cannot drill down system provided metrics' : 'Click to drill down'}
</div>

View file

@ -8,6 +8,7 @@ import { filtersMap } from 'Types/filter/newFilter';
export const getMatchingEntries = (searchQuery: string, filters: Record<string, any>) => {
const matchingCategories: string[] = [];
const matchingFilters: Record<string, any> = {};
if (searchQuery.length === 0) return {
matchingCategories: Object.keys(filters),
matchingFilters: filters,