Skip to content

Commit

Permalink
Merge pull request umami-software#225 from mikecao/dev
Browse files Browse the repository at this point in the history
Fix issue with delete.
  • Loading branch information
mikecao authored Sep 26, 2020
2 parents 86c76c9 + 6db386a commit 709590d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions components/common/Button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
background: var(--gray800);
}

.danger {
.danger,
.danger:active {
color: var(--gray50);
background: var(--red500);
}
Expand All @@ -59,7 +60,9 @@
background: var(--red400);
}

.light {
.light,
.light:active {
color: var(--gray900);
background: transparent;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])}`);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 709590d

Please sign in to comment.