diff --git a/apps/files/src/default.js b/apps/files/src/default.js index ecff6cd7487..1b60a33905b 100644 --- a/apps/files/src/default.js +++ b/apps/files/src/default.js @@ -76,7 +76,7 @@ const navItems = [ iconMaterial: appInfo.icon, route: { name: 'files-list', - path: '/' + path: `/${appInfo.id}/list` } }, { diff --git a/changelog/unreleased/2746 b/changelog/unreleased/2746 new file mode 100644 index 00000000000..18f20daff23 --- /dev/null +++ b/changelog/unreleased/2746 @@ -0,0 +1,7 @@ +Change: Display only items for current extension in sidebar menu + +We've filtered out nav items in the sidebar menu. Now only items for current extension will be displayed. +In case the extension has only one nav item, the sidebar menu is hidden and instead of menu button is displayed the name of extension. + +https://github.com/owncloud/phoenix/issues/2746 +https://github.com/owncloud/phoenix/pull/3013 diff --git a/src/Phoenix.vue b/src/Phoenix.vue index 10d3652f7b0..8bdc6f5208c 100644 --- a/src/Phoenix.vue +++ b/src/Phoenix.vue @@ -7,8 +7,20 @@