Remove caret.

pull/1745/head
Brian Cao 2023-01-17 22:06:18 -08:00
parent e6a6222088
commit 5c92d8f872
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function getTimestampInterval(field) {
function getSanitizedColumns(columns) {
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];