mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Refactored fetching to use react-query.
This commit is contained in:
parent
7bbed0e12b
commit
c56f02c475
112 changed files with 255 additions and 492 deletions
|
|
@ -52,7 +52,7 @@ function getTimestampInterval(field: string): string {
|
|||
}
|
||||
}
|
||||
|
||||
function getJsonField(column, property, isNumber): string {
|
||||
function getJsonField(column: string, property: string, isNumber: boolean): string {
|
||||
const db = getDatabaseType(process.env.DATABASE_URL);
|
||||
|
||||
if (db === POSTGRESQL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue