mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
renamed service variables to conform to new naming scheme
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
"use strict";
|
||||
|
||||
import link from '../services/link.js';
|
||||
import linkService from '../services/link.js';
|
||||
import utils from '../services/utils.js';
|
||||
|
||||
const $dialog = $("#event-log-dialog");
|
||||
@@ -23,7 +21,7 @@ async function showDialog() {
|
||||
const dateTime = utils.formatDateTime(utils.parseDate(event.dateAdded));
|
||||
|
||||
if (event.noteId) {
|
||||
const noteLink = link.createNoteLink(event.noteId).prop('outerHTML');
|
||||
const noteLink = linkService.createNoteLink(event.noteId).prop('outerHTML');
|
||||
|
||||
event.comment = event.comment.replace('<note>', noteLink);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user