merged tree utils into tree service

This commit is contained in:
zadam
2020-01-25 09:56:08 +01:00
parent 7a62d1636b
commit 3254b551d8
22 changed files with 168 additions and 188 deletions

View File

@@ -1,6 +1,5 @@
import TabAwareWidget from "./tab_aware_widget.js";
import treeService from "../services/tree.js";
import treeUtils from "../services/tree_utils.js";
import linkService from "../services/link.js";
const TPL = `
@@ -71,7 +70,7 @@ export default class NotePathsWidget extends TabAwareWidget {
}
async addPath(notePath, isCurrent) {
const title = await treeUtils.getNotePathTitle(notePath);
const title = await treeService.getNotePathTitle(notePath);
const noteLink = await linkService.createNoteLink(notePath, {title});