mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Remove caret.
This commit is contained in:
parent
e6a6222088
commit
5c92d8f872
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ function getTimestampInterval(field) {
|
||||||
|
|
||||||
function getSanitizedColumns(columns) {
|
function getSanitizedColumns(columns) {
|
||||||
return Object.keys(columns).reduce((acc, keyName) => {
|
return Object.keys(columns).reduce((acc, keyName) => {
|
||||||
const sanitizedProperty = keyName.replace(/[^\w\s_]/g, '');
|
const sanitizedProperty = keyName.replace(/[\w\s_]/g, '');
|
||||||
|
|
||||||
acc[sanitizedProperty] = columns[keyName];
|
acc[sanitizedProperty] = columns[keyName];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue