mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 19:46:52 +03:00
Merge pull request #223 from itdoginfo/fix/version-check
fix: correct versions comparison
This commit is contained in:
@@ -386,7 +386,7 @@ function renderDiagnosticSystemInfoWidget() {
|
||||
};
|
||||
}
|
||||
|
||||
if (version !== diagnosticsSystemInfo.podkop_latest_version) {
|
||||
if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) {
|
||||
return {
|
||||
key: 'Podkop',
|
||||
value: version,
|
||||
|
||||
@@ -3961,7 +3961,7 @@ function renderDiagnosticSystemInfoWidget() {
|
||||
value: version
|
||||
};
|
||||
}
|
||||
if (version !== diagnosticsSystemInfo.podkop_latest_version) {
|
||||
if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) {
|
||||
return {
|
||||
key: "Podkop",
|
||||
value: version,
|
||||
|
||||
Reference in New Issue
Block a user