mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 07:13:37 +01:00
enhancement #649
as refFilter, urlFilter is expanded checking agains url !== null.
This commit is contained in:
parent
bd8f72daab
commit
cfb13b2d54
@ -3,7 +3,7 @@ import { removeTrailingSlash, removeWWW, getDomainName } from './url';
|
||||
|
||||
export const urlFilter = (data, { raw }) => {
|
||||
const isValidUrl = url => {
|
||||
return url !== '' && !url.startsWith('#');
|
||||
return url !== '' && url !== null && !url.startsWith('#');
|
||||
};
|
||||
|
||||
if (raw) {
|
||||
|
Loading…
Reference in New Issue
Block a user