mirror of https://github.com/nextcloud/bookmarks
NoBookmarks: Fix add bookmark button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
d13e29c685
commit
02774145e1
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue