From 4cdb0b1697e646c0a6bfcdccb341b64308ce3bfe Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 19 Mar 2021 19:25:12 +0100 Subject: [PATCH] switch from github api to moonraker commits_behind for display commits between current commit and newest updateable commit Signed-off-by: Stefan Dej --- .../panels/Settings/UpdatePanel.vue | 106 ++++++------------ 1 file changed, 36 insertions(+), 70 deletions(-) diff --git a/src/components/panels/Settings/UpdatePanel.vue b/src/components/panels/Settings/UpdatePanel.vue index 45c9f17d..150c5b0a 100644 --- a/src/components/panels/Settings/UpdatePanel.vue +++ b/src/components/panels/Settings/UpdatePanel.vue @@ -80,24 +80,17 @@ mdi-close-thick - - - - - - - - + - + - {{ commit.title }}
-

+ {{ commit.subject }}
+

- {{ commit.author }} committed at {{ commit.date.toLocaleString() }} + {{ commit.author }} committed at {{ new Date(commit.date * 1000).toLocaleString() }}
@@ -114,7 +107,6 @@ \ No newline at end of file