From 19ee117a53c6c9fb9a3e4b866568b0d71745c076 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Mon, 17 Oct 2022 20:36:02 +0200 Subject: [PATCH] webapp: create interface for NtpStatus --- webapp/src/types/NtpStatus.ts | 7 +++++++ webapp/src/views/NtpInfoView.vue | 9 ++------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 webapp/src/types/NtpStatus.ts diff --git a/webapp/src/types/NtpStatus.ts b/webapp/src/types/NtpStatus.ts new file mode 100644 index 00000000..fd4c56f5 --- /dev/null +++ b/webapp/src/types/NtpStatus.ts @@ -0,0 +1,7 @@ +export interface NtpStatus { + ntp_server: string, + ntp_timezone: string, + ntp_timezone_descr: string + ntp_status: boolean, + ntp_localtime: string +} \ No newline at end of file diff --git a/webapp/src/views/NtpInfoView.vue b/webapp/src/views/NtpInfoView.vue index 41f37c42..61367726 100644 --- a/webapp/src/views/NtpInfoView.vue +++ b/webapp/src/views/NtpInfoView.vue @@ -67,18 +67,13 @@