summaryrefslogtreecommitdiffstats
path: root/src/components/Sidebar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Sidebar.vue')
-rw-r--r--src/components/Sidebar.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index 22185e5a2..d029823db 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -10,9 +10,8 @@
5
</AppNavigationCounter>
</AppNavigationItem>
- <AppNavigationItem :title="t('news','New folder')"
+ <AppNavigationNewItem :title="t('news','New folder')"
icon="icon-add"
- :new-item="true"
@new-item="newFolder" />
</ul>
</AppNavigation>
@@ -22,6 +21,7 @@
import AppNavigation from '@nextcloud/vue/dist/Components/AppNavigation'
import AppNavigationNew from '@nextcloud/vue/dist/Components/AppNavigationNew'
import AppNavigationItem from '@nextcloud/vue/dist/Components/AppNavigationItem'
+import AppNavigationNewItem from '@nextcloud/vue/dist/Components/AppNavigationNewItem'
import AppNavigationCounter from '@nextcloud/vue/dist/Components/AppNavigationCounter'
export default {
@@ -29,6 +29,7 @@ export default {
AppNavigation,
AppNavigationNew,
AppNavigationItem,
+ AppNavigationNewItem,
AppNavigationCounter,
},
methods: {