mirror of https://github.com/nextcloud/bookmarks
parent
88d32dd23b
commit
ba523ff9bf
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<Modal v-if="showModal" :title="title" @close="onClose">
|
||||
<div class="move-dialog">
|
||||
<div v-if="!moving" class="move-dialog">
|
||||
<TreeFolder
|
||||
:folder="{
|
||||
title: t('bookmarks', 'Root folder'),
|
||||
|
@ -10,6 +10,7 @@
|
|||
:show-children-default="true"
|
||||
@select="onSelect" />
|
||||
</div>
|
||||
<div v-else class="icon-loading move-dialog" />
|
||||
</Modal>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -30,6 +31,9 @@ export default {
|
|||
selection() {
|
||||
return this.$store.state.selection
|
||||
},
|
||||
moving() {
|
||||
return this.$store.state.loading.moveSelection
|
||||
},
|
||||
allFolders() {
|
||||
return this.filterFolders(this.$store.state.folders)
|
||||
},
|
||||
|
|
|
@ -29,6 +29,7 @@ export default new Store({
|
|||
saveBookmark: false,
|
||||
createFolder: false,
|
||||
saveFolder: false,
|
||||
moveSelection: false,
|
||||
},
|
||||
error: null,
|
||||
notification: null,
|
||||
|
|
Loading…
Reference in New Issue