mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fixed upgradable
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user