mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
remove console log
Co-authored-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
@@ -68,7 +68,6 @@ export function noWhiteSpace(i18n) {
|
|||||||
|
|
||||||
export function integer(i18n) {
|
export function integer(i18n) {
|
||||||
return value => {
|
return value => {
|
||||||
console.log(value);
|
|
||||||
const str = String(value);
|
const str = String(value);
|
||||||
if (/[^0-9]/.test(str)) {
|
if (/[^0-9]/.test(str)) {
|
||||||
return i18n._(t`This field must be an integer`);
|
return i18n._(t`This field must be an integer`);
|
||||||
|
|||||||
Reference in New Issue
Block a user