Skip to content

Commit

Permalink
Pi-hole web v6.0.1 (#3234)
Browse files Browse the repository at this point in the history
  • Loading branch information
PromoFaux authored Feb 20, 2025
2 parents a66d859 + 4c7cf06 commit 42e7279
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 18 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"autoprefixer": "^10.4.20",
"eslint-plugin-compat": "^6.0.2",
"postcss": "^8.5.2",
"postcss": "^8.5.3",
"postcss-cli": "^11.0.0",
"prettier": "^3.5.1",
"xo": "^0.60.0"
Expand Down Expand Up @@ -116,7 +116,7 @@
"bootstrap-select": "1.13.18",
"bootstrap-toggle": "2.2.2",
"bstreeview": "1.2.0",
"chart.js": "4.4.7",
"chart.js": "4.4.8",
"chartjs-adapter-moment": "1.0.1",
"chartjs-plugin-deferred": "2.0.0",
"chartjs-plugin-zoom": "2.2.0",
Expand Down
19 changes: 16 additions & 3 deletions scripts/js/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,22 @@ function updateVersionInfo() {
}
}

if (v.name === "Docker Tag" && versionCompare(v.local, v.remote) === -1) {
updateComponentAvailable = true;
dockerUpdate = true;
if (v.name === "Docker Tag") {
if (versionCompare(v.local, v.remote) === -1) {
// Display update information for the docker tag
updateComponentAvailable = true;
dockerUpdate = true;
} else {
// Display the link for the current tag
localVersion =
'<a href="' +
v.url +
"/" +
localVersion +
'" rel="noopener" target="_blank">' +
localVersion +
"</a>";
}
}

// Display update information of individual components only if we are not running in a Docker container
Expand Down
14 changes: 10 additions & 4 deletions vendor/chartjs/chart.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/chartjs/chart.umd.js.map

Large diffs are not rendered by default.

0 comments on commit 42e7279

Please sign in to comment.