RA-#24: dont show info after force resync

This commit is contained in:
ostertun
2020-10-14 11:24:36 +02:00
parent e57bf4a426
commit 2034e8b659
2 changed files with 8 additions and 5 deletions

View File

@@ -256,7 +256,7 @@ self.addEventListener('push', async function(event) {
var db = await openDb();
if (db != null) {
var os = db.transaction('update_times', 'readwrite').objectStore('update_times');
var request = os.put({ table: 'last_sync', time: 0 });
var request = os.put({ table: 'last_sync', time: 1 });
request.onerror = function (event) {
console.log('[sW] Error while saving data to DB:', e);
db.close();
@@ -277,7 +277,7 @@ self.addEventListener('push', async function(event) {
var db = await openDb();
if (db != null) {
var os = db.transaction('update_times', 'readwrite').objectStore('update_times');
var request = os.put({ table: 'last_sync', time: 0 });
var request = os.put({ table: 'last_sync', time: 1 });
request.onerror = function (event) {
console.log('[sW] Error while saving data to DB:', e);
db.close();