mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 22:46:20 -05:00
Enabling fallback on first controller repair run so that main ui launches after repair completion.
This commit is contained in:
parent
5f0ec9b79a
commit
95c8be298a
2 changed files with 3 additions and 2 deletions
|
|
@ -1707,6 +1707,7 @@
|
|||
|
||||
const script = scriptsData.find(s => s.name === pendingScriptName);
|
||||
const isUpgrade = pendingScriptName === 'upgrade';
|
||||
const isRepair = pendingScriptName === 'repair';
|
||||
|
||||
// Collect all parameter values from dynamic inputs
|
||||
let body = null;
|
||||
|
|
@ -1737,7 +1738,7 @@
|
|||
}
|
||||
|
||||
// For repair script, redirect to fallback mode
|
||||
if (pendingScriptName === 'repair') {
|
||||
if (isRepair) {
|
||||
window.location.href = `?fallback=true`;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
0.17.6-beta
|
||||
0.17.7-beta
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue