summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Treffler <mail@jonathan-treffler.de>2020-12-17 13:53:35 +0100
committerSimon Spannagel <simonspa@kth.se>2021-12-16 20:24:09 +0100
commit1df5c81d138259971f999136317c39c1a613b521 (patch)
tree0ea36ceee541c64131a103fa747c5d859cc35085
parentcde5d5f509acf1690100d04cd1c8053054b178b9 (diff)
fixed compatibility with nextcloud-vue 3.3.2
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
-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: {