diff --git a/src/public/app/layouts/desktop_layout.js b/src/public/app/layouts/desktop_layout.js index 4f99f0f26..346f12aa9 100644 --- a/src/public/app/layouts/desktop_layout.js +++ b/src/public/app/layouts/desktop_layout.js @@ -126,13 +126,13 @@ export default class DesktopLayout { .child( new RibbonContainer() .ribbon(new SearchDefinitionWidget()) - .ribbon(new BasicPropertiesWidget()) .ribbon(new EditedNotesWidget()) .ribbon(new BookPropertiesWidget()) .ribbon(new NotePropertiesWidget()) .ribbon(new FilePropertiesWidget()) .ribbon(new ImagePropertiesWidget()) .ribbon(new PromotedAttributesWidget()) + .ribbon(new BasicPropertiesWidget()) .ribbon(new OwnedAttributeListWidget()) .ribbon(new InheritedAttributesWidget()) .ribbon(new NotePathsWidget()) diff --git a/src/public/app/services/note_content_renderer.js b/src/public/app/services/note_content_renderer.js index e3750f6c6..f3929bb55 100644 --- a/src/public/app/services/note_content_renderer.js +++ b/src/public/app/services/note_content_renderer.js @@ -39,7 +39,7 @@ async function getRenderedContent(note, options = {}) { let childNoteIds = note.getChildNoteIds(); if (childNoteIds.length > 10) { - childNoteIds = childNoteIds.substr(0, 10); + childNoteIds = childNoteIds.slice(0, 10); } // just load the first 10 child notes