Loading src/components/viewComponents/galleryDisplay.vue +11 −2 Original line number Diff line number Diff line Loading @@ -107,7 +107,8 @@ export default { checkedTags: [], sortDescending: true, galleryFolder: "", scanTag: "scan" scanTag: "scan", unwatchStoreFunction: null }; }, Loading Loading @@ -243,7 +244,7 @@ export default { created: function() { // Watch for host 'ready', then update status this.$store.watch( this.unwatchStoreFunction = this.$store.watch( (state, getters) => { return getters.ready; }, Loading @@ -259,6 +260,14 @@ export default { ); }, beforeDestroy() { // Then we call that function here to unwatch if (this.unwatchStoreFunction) { this.unwatchStoreFunction(); this.unwatchStoreFunction = null; } }, methods: { updateCaptureList: function() { console.log("Updating capture list..."); Loading Loading
src/components/viewComponents/galleryDisplay.vue +11 −2 Original line number Diff line number Diff line Loading @@ -107,7 +107,8 @@ export default { checkedTags: [], sortDescending: true, galleryFolder: "", scanTag: "scan" scanTag: "scan", unwatchStoreFunction: null }; }, Loading Loading @@ -243,7 +244,7 @@ export default { created: function() { // Watch for host 'ready', then update status this.$store.watch( this.unwatchStoreFunction = this.$store.watch( (state, getters) => { return getters.ready; }, Loading @@ -259,6 +260,14 @@ export default { ); }, beforeDestroy() { // Then we call that function here to unwatch if (this.unwatchStoreFunction) { this.unwatchStoreFunction(); this.unwatchStoreFunction = null; } }, methods: { updateCaptureList: function() { console.log("Updating capture list..."); Loading