Merge pull request #225 from mikecao/dev

Fix issue with delete.
This commit is contained in:
Mike Cao 2020-09-26 08:45:52 -07:00 committed by GitHub
commit 709590dcd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -50,7 +50,8 @@
background: var(--gray800);
}
.danger {
.danger,
.danger:active {
color: var(--gray50);
background: var(--red500);
}
@ -59,7 +60,9 @@
background: var(--red400);
}
.light {
.light,
.light:active {
color: var(--gray900);
background: transparent;
}

View File

@ -14,7 +14,7 @@ export function getDomainName(str) {
}
}
export function getQueryString(params) {
export function getQueryString(params = {}) {
const map = Object.keys(params).reduce((arr, key) => {
if (params[key] !== undefined) {
return arr.concat(`${key}=${encodeURIComponent(params[key])}`);

View File

@ -1,6 +1,6 @@
{
"name": "umami",
"version": "0.55.0",
"version": "0.56.0",
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
"author": "Mike Cao <mike@mikecao.com>",
"license": "MIT",