mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fix issue with delete.
This commit is contained in:
parent
6ec13aef09
commit
6db386a455
3 changed files with 7 additions and 4 deletions
|
|
@ -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])}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue