From 7fc5f1a8f2d72c3775ae873a8768b96bfb66db73 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Wed, 3 Aug 2022 16:40:48 +0300
Subject: add IP validate for Network page

---
 src/views/_sila/Overview/Network/ModalIpv4.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/views/_sila/Overview/Network/ModalIpv4.vue')

diff --git a/src/views/_sila/Overview/Network/ModalIpv4.vue b/src/views/_sila/Overview/Network/ModalIpv4.vue
index 00742a11..51d06eff 100644
--- a/src/views/_sila/Overview/Network/ModalIpv4.vue
+++ b/src/views/_sila/Overview/Network/ModalIpv4.vue
@@ -16,7 +16,7 @@
               id="ipAddress"
               v-model="form.ipAddress"
               type="text"
-              :state="getValidationState($v.form.ipAddress)"
+              :state="getIpValidationState($v.form.ipAddress)"
               @input="$v.form.ipAddress.$touch()"
             />
             <b-form-invalid-feedback role="alert">
@@ -38,7 +38,7 @@
               id="gateway"
               v-model="form.gateway"
               type="text"
-              :state="getValidationState($v.form.gateway)"
+              :state="getIpValidationState($v.form.gateway)"
               @input="$v.form.gateway.$touch()"
             />
             <b-form-invalid-feedback role="alert">
@@ -62,7 +62,7 @@
               id="subnetMask"
               v-model="form.subnetMask"
               type="text"
-              :state="getValidationState($v.form.subnetMask)"
+              :state="getIpValidationState($v.form.subnetMask)"
               @input="$v.form.subnetMask.$touch()"
             />
             <b-form-invalid-feedback role="alert">
-- 
cgit v1.2.3

