Add:Match All Authors button #642

This commit is contained in:
advplyr 2022-05-29 12:15:39 -05:00
parent 514893646a
commit cfcd351570
3 changed files with 53 additions and 4 deletions

View file

@ -101,8 +101,16 @@ export default {
this.$toast.info('No updates were made for Author')
}
this.searching = false
},
setSearching(isSearching) {
this.searching = isSearching
}
},
mounted() {}
mounted() {
this.$eventBus.$on(`searching-author-${this.authorId}`, this.setSearching)
},
beforeDestroy() {
this.$eventBus.$off(`searching-author-${this.authorId}`, this.setSearching)
}
}
</script>