Merge pull request #8895 from overleaf/jpa-allow-empty-segmentation-val
[web] allow empty event segmentation values again GitOrigin-RevId: a02fd5085697bf7e2f2d4a5c2dc93dfebcd6e140
This commit is contained in:
@@ -243,7 +243,7 @@ function _checkPropertyValue(propertyValue) {
|
||||
}
|
||||
|
||||
function _isAttributeValid(attribute) {
|
||||
return attribute && /^[a-zA-Z0-9-_.:;,/]+$/.test(attribute)
|
||||
return !attribute || /^[a-zA-Z0-9-_.:;,/]+$/.test(attribute)
|
||||
}
|
||||
|
||||
function _isSegmentationValid(segmentation) {
|
||||
|
||||
Reference in New Issue
Block a user