From 8fbbdc863c6ec4d5cc2630561d18300bcec85a12 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 19 Jul 2020 17:52:11 +0800 Subject: [PATCH] fixed upgradable --- frontend/src/views/layout/components/Navbar.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/layout/components/Navbar.vue b/frontend/src/views/layout/components/Navbar.vue index f9d41270..7a3a96d6 100644 --- a/frontend/src/views/layout/components/Navbar.vue +++ b/frontend/src/views/layout/components/Navbar.vue @@ -187,7 +187,11 @@ docker-compose up -d const nc = Number(currentVersionList[i]) let nl = Number(latestVersionList[i]) if (isNaN(nl)) nl = 0 - if (nc < nl) return true + if (nc < nl) { + return true + } else if (nc > nl) { + return false + } } return false }, @@ -281,7 +285,7 @@ docker-compose up -d .github { height: 50px; margin-right: 35px; - padding-top: 8px; + margin-top: -10px; } .upgrade {