Improve version node in popup
This commit is contained in:
parent
8e26a59cb8
commit
d21148aab6
|
@ -435,8 +435,10 @@ popup._createVersionNode = function (versionRequested, versionDelivered) {
|
|||
let version = '';
|
||||
|
||||
if (versionRequested === undefined || versionDelivered === undefined) {
|
||||
version = '';
|
||||
} else if (versionRequested === versionDelivered && versionDelivered !== 'latest') {
|
||||
return version;
|
||||
}
|
||||
|
||||
if (versionRequested === versionDelivered && versionDelivered !== 'latest') {
|
||||
version = `v${versionRequested}`;
|
||||
} else if (versionRequested === versionDelivered) {
|
||||
version = `v${versionRequested}`;
|
||||
|
|
Loading…
Reference in New Issue