We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6b59c commit 3c8abddCopy full SHA for 3c8abdd
src/Hidden/index.jsx
@@ -22,7 +22,7 @@ const Hidden = props => (
22
* @returns {*}
23
*/
24
Hidden.rewriteValue = (value, values) => {
25
- if(!value.startsWith('~') || !value.endsWith('~')) return value;
+ if(!value || !value.toString().startsWith('~') || !value.toString().endsWith('~')) return value;
26
return Converse.calculateFormula(values, value.slice(1, -1));
27
};
28
0 commit comments