From 857c5eee6f465e202e461f8fecefb27e925bbadf Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 5 Feb 2024 13:14:07 +0200 Subject: [PATCH] ref --- client/src/views/fields/phone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/fields/phone.js b/client/src/views/fields/phone.js index f91b2d647e..c777ccd5eb 100644 --- a/client/src/views/fields/phone.js +++ b/client/src/views/fields/phone.js @@ -642,7 +642,7 @@ class PhoneFieldView extends VarcharFieldView { this.name + 'Numeric' : this.name; - if (~['isEmpty', 'isNotEmpty'].indexOf(type)) { + if (['isEmpty', 'isNotEmpty'].includes(type)) { if (type === 'isEmpty') { return { type: 'isNull',