NoBookmarks: Fix add bookmark button

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2022-02-27 20:22:29 +01:00
parent d13e29c685
commit 02774145e1
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
<script>
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
import { actions } from '../store'
import { actions, mutations } from '../store'
import { privateRoutes } from '../router'
export default {
name: 'NoBookmarks',
@ -49,7 +49,7 @@ export default {
},
methods: {
onCreateOpen() {
this.$store.commit(actions.CREATE_BOOKMARK, true)
this.$store.commit(mutations.DISPLAY_NEW_BOOKMARK, true)
},
onImportOpen() {
this.$refs.import.click()