mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Fix batch (#6248)
* Use the delta plugin data to show the delta in the clock views * Update Node checks * Fix disabling the BG alarms for simple alarms * Load battery and other rare events up to two months back * Possibly fixes compatibility with ios9 - needs testing * Unified black and color clock layouts * Update clock data every 20 seconds * Update clock time every second * Fix how CSP policy is set for Helmet, fixes #6260 * Authorization fix for misformatted URLs * Added unit test for batch upload of CGM entries * Improved / removed some logging * Test if user is in read only mode when Nightscout starts and give an error if so
This commit is contained in:
+1
-1
@@ -730,7 +730,7 @@
|
||||
reg.addEventListener('updatefound', () => {
|
||||
console.log('Service worker update detected');
|
||||
reg.update();
|
||||
const newWorker = reg.installing;
|
||||
var newWorker = reg.installing;
|
||||
newWorker.addEventListener('statechange', (state) => {
|
||||
console.log('New worker state change', state);
|
||||
window.location.reload(true);
|
||||
|
||||
Reference in New Issue
Block a user