Forbid custom expressions to be prefixed with defaults
| @@ -1552,7 +1552,7 @@ async function onClickExpressionAddCustom() { | ||
| 1552 | 1552 | toastr.warning('Invalid custom expression name provided', 'Add Custom Expression'); |
| 1553 | 1553 | return; |
| 1554 | 1554 | } |
| 1555 | 1555 | if (DEFAULT_EXPRESSIONS.includes(expressionName) || DEFAULT_EXPRESSIONS.some(x => expressionName.startsWith(x))) { |
| 1556 | 1556 | toastr.warning('Expression name already exists', 'Add Custom Expression'); |
| 1557 | 1557 | return; |
| 1558 | 1558 | } |