diff --git a/src/public/app/layouts/desktop_extra_window_layout.js b/src/public/app/layouts/desktop_extra_window_layout.js index a9adc7105..aef4df0da 100644 --- a/src/public/app/layouts/desktop_extra_window_layout.js +++ b/src/public/app/layouts/desktop_extra_window_layout.js @@ -21,6 +21,7 @@ import FilePropertiesWidget from "../widgets/type_property_widgets/file_properti import ImagePropertiesWidget from "../widgets/type_property_widgets/image_properties.js"; import NotePropertiesWidget from "../widgets/type_property_widgets/note_properties.js"; import NoteIconWidget from "../widgets/note_icon.js"; +import NotePathsWidget from "../widgets/note_paths.js"; export default class DesktopExtraWindowLayout { constructor(customWidgets) { @@ -48,6 +49,7 @@ export default class DesktopExtraWindowLayout { .overflowing() .child(new NoteIconWidget()) .child(new NoteTitleWidget()) + .child(new NotePathsWidget().hideInZenMode()) .child(new NoteTypeWidget().hideInZenMode()) .child(new NoteActionsWidget().hideInZenMode()) ) diff --git a/src/public/app/layouts/desktop_main_window_layout.js b/src/public/app/layouts/desktop_main_window_layout.js index 80949eec4..663a7bfe9 100644 --- a/src/public/app/layouts/desktop_main_window_layout.js +++ b/src/public/app/layouts/desktop_main_window_layout.js @@ -149,7 +149,6 @@ export default class DesktopMainWindowLayout { .filling() .child(new SidePaneContainer('left') .hideInZenMode() - .child(new TabCachingWidget(() => new NotePathsWidget())) .child(appContext.mainTreeWidget) .child(...this.customWidgets.get('left-pane')) ) @@ -160,6 +159,7 @@ export default class DesktopMainWindowLayout { .overflowing() .child(new NoteIconWidget()) .child(new NoteTitleWidget()) + .child(new NotePathsWidget().hideInZenMode()) .child(new NoteTypeWidget().hideInZenMode()) .child(new NoteActionsWidget().hideInZenMode()) ) diff --git a/src/public/app/widgets/note_paths.js b/src/public/app/widgets/note_paths.js index 1c5bf5706..a43a1df5f 100644 --- a/src/public/app/widgets/note_paths.js +++ b/src/public/app/widgets/note_paths.js @@ -4,53 +4,25 @@ import linkService from "../services/link.js"; import hoistedNoteService from "../services/hoisted_note.js"; const TPL = ` -