mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 13:17:19 +01:00
Refactor filter handling for queries.
This commit is contained in:
parent
5b300f1ff5
commit
ee6c68d27c
107 changed files with 731 additions and 835 deletions
|
|
@ -40,7 +40,7 @@ export function useFormat() {
|
|||
return languageNames[value?.split('-')[0]] || value;
|
||||
};
|
||||
|
||||
const formatValue = (value: string, type: string, data?: { [key: string]: any }): string => {
|
||||
const formatValue = (value: string, type: string, data?: Record<string, any>): string => {
|
||||
switch (type) {
|
||||
case 'os':
|
||||
return formatOS(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue