new tab infrastructure

This commit is contained in:
zadam
2019-05-12 12:58:55 +02:00
parent 637547a3fa
commit 14c420b782
13 changed files with 90 additions and 63 deletions

View File

@@ -42,7 +42,7 @@ class NoteDetailImage {
});
}
async show() {
async render() {
const attributes = await server.get('notes/' + this.ctx.note.noteId + '/attributes');
const attributeMap = utils.toObject(attributes, l => [l.name, l.value]);