continuing refactoring

This commit is contained in:
zadam
2020-01-15 21:36:01 +01:00
parent f98a20928c
commit 7963de0abc
12 changed files with 138 additions and 118 deletions

View File

@@ -43,7 +43,7 @@ async function mouseEnterHandler() {
const noteId = treeUtils.getNoteIdFromNotePath(notePath);
const notePromise = noteDetailService.loadNote(noteId);
const attributePromise = server.get('notes/' + noteId + '/attributes');
const attributePromise = server.get(`notes/${noteId}/attributes`);
const [note, attributes] = await Promise.all([notePromise, attributePromise]);