Add fixmes

This commit is contained in:
Ramon Wenger 2019-10-15 16:21:44 +02:00
parent 4fc896c224
commit d061116585
2 changed files with 3 additions and 0 deletions

View File

@ -59,9 +59,11 @@
computed: {
bookmarked() {
// fixme: make indented sub-contents work
return this.bookmarks && !!this.bookmarks.find(bookmark => bookmark.uuid === this.component.id);
},
note() {
// fixme: make indented sub-contents work
const bookmark = this.bookmarks && this.bookmarks.find(bookmark => bookmark.uuid === this.component.id);
return bookmark && bookmark.note;
}

View File

@ -35,6 +35,7 @@
computed: {
contentBlocks() {
// fixme: make indented sub-contents work
return this.contents.map(contentBlock => {
return Object.assign({}, contentBlock, {
contents: [...contentBlock.value],