-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist Logs during updates #1004
Conversation
@@ -44,7 +44,7 @@ <h1><span class="text-white">Ampli</span><span class="text-danger">Pi</span></h1 | |||
<a class="nav-link" id="manual-update-tab" data-toggle="tab" href="#manual-update" role="tab" aria-controls="manual-update" aria-selected="false">Custom Update</a> | |||
</li> | |||
<li class="nav-item"> | |||
<a class="nav-link" id="admin-settings-tab" data-toggle="tab" href="#admin-settings" role="tab" aria-controls="admin-settings" aria-selected="false">Admin Settings</a> | |||
<a class="nav-link" id="admin-settings-tab" data-toggle="tab" href="#admin-settings" role="tab" aria-controls="admin-settings" aria-selected="false" onClick="getPersist();">Admin Settings</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that the state of that tab can be changed by updating, change the update method from window.onload
to tab.onclick
a4eeba7
to
03f8e32
Compare
4ae34f0
to
b293dc8
Compare
…es, then set to true if it is false with sane minimum auto-off delay
0c21853
to
8a5422f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does exactly what I expect. Nice work @SteveMicroNova
What does this change intend to accomplish?
Adds a function prior to firing the update script that checks if persist_logs is set to true, and if not sets it to true for three days
Checklist
./scripts/test