mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
commit
709590dcd6
@ -50,7 +50,8 @@
|
|||||||
background: var(--gray800);
|
background: var(--gray800);
|
||||||
}
|
}
|
||||||
|
|
||||||
.danger {
|
.danger,
|
||||||
|
.danger:active {
|
||||||
color: var(--gray50);
|
color: var(--gray50);
|
||||||
background: var(--red500);
|
background: var(--red500);
|
||||||
}
|
}
|
||||||
@ -59,7 +60,9 @@
|
|||||||
background: var(--red400);
|
background: var(--red400);
|
||||||
}
|
}
|
||||||
|
|
||||||
.light {
|
.light,
|
||||||
|
.light:active {
|
||||||
|
color: var(--gray900);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ export function getDomainName(str) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getQueryString(params) {
|
export function getQueryString(params = {}) {
|
||||||
const map = Object.keys(params).reduce((arr, key) => {
|
const map = Object.keys(params).reduce((arr, key) => {
|
||||||
if (params[key] !== undefined) {
|
if (params[key] !== undefined) {
|
||||||
return arr.concat(`${key}=${encodeURIComponent(params[key])}`);
|
return arr.concat(`${key}=${encodeURIComponent(params[key])}`);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "umami",
|
"name": "umami",
|
||||||
"version": "0.55.0",
|
"version": "0.56.0",
|
||||||
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
||||||
"author": "Mike Cao <mike@mikecao.com>",
|
"author": "Mike Cao <mike@mikecao.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
Reference in New Issue
Block a user