We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cee2c1e + a495fe5 commit 4c7cf06Copy full SHA for 4c7cf06
1 file changed
scripts/js/footer.js
@@ -557,9 +557,22 @@ function updateVersionInfo() {
557
}
558
559
560
- if (v.name === "Docker Tag" && versionCompare(v.local, v.remote) === -1) {
561
- updateComponentAvailable = true;
562
- dockerUpdate = true;
+ if (v.name === "Docker Tag") {
+ if (versionCompare(v.local, v.remote) === -1) {
+ // Display update information for the docker tag
563
+ updateComponentAvailable = true;
564
+ dockerUpdate = true;
565
+ } else {
566
+ // Display the link for the current tag
567
+ localVersion =
568
+ '<a href="' +
569
+ v.url +
570
+ "/" +
571
+ localVersion +
572
+ '" rel="noopener" target="_blank">' +
573
574
+ "</a>";
575
+ }
576
577
578
// Display update information of individual components only if we are not running in a Docker container
0 commit comments