Lines Matching refs:this

229     this.hideLoader();
240 locale: this.$store.getters['global/languagePreference'],
258 return this.form.configurationSelected === 'manual';
264 return this.form.configurationSelected === 'manual';
272 return this.form.configurationSelected === 'ntp';
282 return this.$store.getters['global/bmcTime'];
285 return this.form.configurationSelected === 'ntp';
288 return this.form.configurationSelected === 'manual';
291 return this.$store.getters['global/isUtcDisplay'];
294 if (this.isUtcDisplay) {
297 return this.localOffset();
302 this.setNtpValues();
305 this.emitChange();
308 this.form.manual.date = this.$filters.formatDate(
309 this.$store.getters['global/bmcTime'],
311 this.form.manual.time = this.$filters
312 .formatTime(this.$store.getters['global/bmcTime'])
317 this.startLoader();
318 this.setNtpValues();
320 this.$store.dispatch('global/getBmcTime'),
321 this.$store.dispatch('dateTime/getNtpData'),
322 ]).finally(() => this.endLoader());
326 if (this.v$.$invalid) return;
327 this.v$.$reset(); //reset to re-validate on blur
328 this.$emit('change', {
329 manualDate: this.manualDate ? new Date(this.manualDate) : null,
333 this.form.configurationSelected = this.isNtpProtocolEnabled
337 this.form.ntp.firstAddress = '',
338 this.form.ntp.secondAddress = '',
339 this.form.ntp.thirdAddress = '',
340 ] = [this.ntpServers[0], this.ntpServers[1], this.ntpServers[2]];
343 this.v$.$touch();
344 if (this.v$.$invalid) return;
345 this.startLoader();
348 let isNTPEnabled = this.form.configurationSelected === 'ntp';
351 const isUtcDisplay = this.$store.getters['global/isUtcDisplay'];
358 date = this.getUtcDate(this.form.manual.date, this.form.manual.time);
361 date = new Date(`${this.form.manual.date} ${this.form.manual.time}`);
369 this.form.ntp.firstAddress,
370 this.form.ntp.secondAddress,
371 this.form.ntp.thirdAddress,
380 [this.ntpServers[0], this.ntpServers[1], this.ntpServers[2]] = [
384 this.setNtpValues();
387 this.$store
390 this.successToast(success);
394 if (!this.form.ntp.secondAddress && this.form.ntp.thirdAddres) {
395 this.form.ntp.secondAddress = this.form.ntp.thirdAddres;
396 this.form.ntp.thirdAddress = '';
400 this.$store.dispatch('global/getBmcTime');
402 .catch(({ message }) => this.errorToast(message))
404 this.v$.form.$reset();
405 this.endLoader();