renamed db columns to camelCase

This commit is contained in:
azivner
2018-01-28 19:30:14 -05:00
parent 55d8ef7e81
commit 3b1f928fbc
58 changed files with 778 additions and 778 deletions

View File

@@ -18,10 +18,10 @@ const eventLog = (function() {
listEl.html('');
for (const event of result) {
const dateTime = formatDateTime(parseDate(event.date_added));
const dateTime = formatDateTime(parseDate(event.dateAdded));
if (event.note_id) {
const noteLink = link.createNoteLink(event.note_id).prop('outerHTML');
if (event.noteId) {
const noteLink = link.createNoteLink(event.noteId).prop('outerHTML');
event.comment = event.comment.replace('<note>', noteLink);
}