diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index cc417739..842d559f 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -49,6 +49,9 @@

{{ numLibraryItemsSelected }} Selected

+ + + @@ -210,7 +213,10 @@ export default { }, setBookshelfTotalEntities(totalEntities) { this.totalEntities = totalEntities - } + }, + batchAutoMatchClick() { + this.$store.commit('globals/setShowBatchQuickMatchModal', true) + }, }, mounted() { this.$eventBus.$on('bookshelf-total-entities', this.setBookshelfTotalEntities) diff --git a/client/components/modals/BatchQuickMatchModel.vue b/client/components/modals/BatchQuickMatchModel.vue new file mode 100644 index 00000000..d02c39f4 --- /dev/null +++ b/client/components/modals/BatchQuickMatchModel.vue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/client/store/globals.js b/client/store/globals.js index 21a31d5a..8625b22e 100644 --- a/client/store/globals.js +++ b/client/store/globals.js @@ -14,6 +14,7 @@ export const state = () => ({ selectedAuthor: null, isCasting: false, // Actively casting isChromecastInitialized: false, // Script loaded + showBatchQuickMatchModal: false, dateFormats: [ { text: 'MM/DD/YYYY', @@ -108,5 +109,9 @@ export const mutations = { }, setCasting(state, val) { state.isCasting = val + }, + setShowBatchQuickMatchModal(state, val) { + console.log("setShowBatchQuickMatchModal: " + val) + state.showBatchQuickMatchModal = val } } \ No newline at end of file