Skip to content

Commit a1729cd

Browse files
Fix
1 parent b2fbd9c commit a1729cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/js/views/expression_field.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ExpressionField extends EventDispatcher {
2929
}
3030

3131
set error(error) {
32-
if (error) {
32+
if (error.length) {
3333
let message = "";
3434
if (typeof error === "string" || error instanceof String) {
3535
const errorMessage = Utils.htmlSafe(error);

0 commit comments

Comments
 (0)