diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-13 11:28:18 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-13 11:28:18 +0300 |
commit | d6238d2844a415ca4f6f9e215c9f465239dd3b65 (patch) | |
tree | 8eab56f25ecb404657f57c301b0d099c2d39a71a | |
parent | ea277152e0e0d01bd3fe1e5030aa1edf2e96561f (diff) | |
download | webui-vue-d6238d2844a415ca4f6f9e215c9f465239dd3b65.tar.xz |
fix ntp save
-rw-r--r-- | src/views/_sila/Overview/DateTime/DateTime.vue | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/views/_sila/Overview/DateTime/DateTime.vue b/src/views/_sila/Overview/DateTime/DateTime.vue index 1a9cbab4..cd16a803 100644 --- a/src/views/_sila/Overview/DateTime/DateTime.vue +++ b/src/views/_sila/Overview/DateTime/DateTime.vue @@ -429,16 +429,13 @@ export default { ?.slice(0, 5); }, submitForm() { + this.$v.$touch(); + if (this.$v.$invalid) return; this.startLoader(); this.$store.dispatch('global/changeTimeZone', this.timeZone); this.$store.dispatch('global/getBmcTime').finally(() => { - this.endLoader(); // this.successToast(); }); - /* this.$v.$touch(); - if (this.$v.$invalid) return;*/ - this.startLoader(); - let dateTimeForm = {}; let isNTPEnabled = this.form.configurationSelected === 'ntp'; |