v1.0.17: reload PI after manual update to show new version

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
pdmarf
2026-04-21 18:34:29 +01:00
parent 4cfe58cde3
commit e34394c1b4
6 changed files with 7 additions and 4 deletions

View File

@@ -296,6 +296,9 @@
var payload = jsn.payload;
if (payload.event === "updateStatus") {
document.getElementById("updateStatus").textContent = payload.message;
if (payload.message && payload.message.indexOf("Updating") === 0) {
setTimeout(function() { location.reload(); }, 4000);
}
}
if (payload.event === "projects") {
if (payload.version) {