mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-07 20:16:53 +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 {
|
return {
|
||||||
key: 'Podkop',
|
key: 'Podkop',
|
||||||
value: version,
|
value: version,
|
||||||
|
|||||||
@@ -3961,7 +3961,7 @@ function renderDiagnosticSystemInfoWidget() {
|
|||||||
value: version
|
value: version
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (version !== diagnosticsSystemInfo.podkop_latest_version) {
|
if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) {
|
||||||
return {
|
return {
|
||||||
key: "Podkop",
|
key: "Podkop",
|
||||||
value: version,
|
value: version,
|
||||||
|
|||||||
Reference in New Issue
Block a user