Added "move" button to library property menu
This commit is contained in:
37
app/imports/ui/library/MoveLibraryNodeDialog.vue
Normal file
37
app/imports/ui/library/MoveLibraryNodeDialog.vue
Normal file
@@ -0,0 +1,37 @@
|
||||
<template lang="html">
|
||||
<dialog-base>
|
||||
<v-toolbar-title slot="toolbar">
|
||||
Select new location
|
||||
</v-toolbar-title>
|
||||
<library-and-node
|
||||
slot="unwrapped-content"
|
||||
style="height: 100%;"
|
||||
selection
|
||||
@selected="val => node = val"
|
||||
/>
|
||||
<template slot="actions">
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
flat
|
||||
color="primary"
|
||||
@click="$store.dispatch('popDialogStack', node._id)"
|
||||
>
|
||||
Move
|
||||
</v-btn>
|
||||
</template>
|
||||
</dialog-base>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DialogBase from '/imports/ui/dialogStack/DialogBase.vue';
|
||||
import LibraryAndNode from '/imports/ui/library/LibraryAndNode.vue';
|
||||
export default {
|
||||
components: {
|
||||
DialogBase,
|
||||
LibraryAndNode,
|
||||
},
|
||||
data(){return {
|
||||
node: undefined,
|
||||
};},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user