renamed service variables to conform to new naming scheme

This commit is contained in:
azivner
2018-03-25 13:41:29 -04:00
parent d746d707b5
commit 297a2cd9da
31 changed files with 121 additions and 176 deletions

View File

@@ -1,9 +1,7 @@
"use strict";
import treeService from './tree_service.js';
import treeService from './tree.js';
import noteDetailService from './note_detail.js';
import utils from './utils.js';
import recentNotes from '../dialogs/recent_notes.js';
import recentNotesDialog from '../dialogs/recent_notes.js';
const $changesToPushCount = $("#changes-to-push-count");
@@ -54,7 +52,7 @@ function messageHandler(event) {
if (syncData.some(sync => sync.entityName === 'recent_notes')) {
console.log(utils.now(), "Reloading recent notes because of background changes");
recentNotes.reload();
recentNotesDialog.reload();
}
// we don't detect image changes here since images themselves are immutable and references should be