diff --git a/src/components/paneDisplayComponents/galleryDisplay.vue b/src/components/paneDisplayComponents/galleryDisplay.vue
index 11806ecf..e2315d5b 100644
--- a/src/components/paneDisplayComponents/galleryDisplay.vue
+++ b/src/components/paneDisplayComponents/galleryDisplay.vue
@@ -25,6 +25,12 @@
+
+
+
+
SCAN {{ allScans[galleryFolder].metadata.filename }}
+
+
@@ -67,6 +73,7 @@ export default {
captureList: [],
checkedTags: [],
sortDescending: true,
+ galleryFolder: "",
scanTag: 'scan'
}
},
@@ -76,6 +83,10 @@ export default {
this.$root.$on('globalUpdateCaptureList', () => {
this.updateCaptureList()
})
+ // A global signal listener to set the gallery folder
+ this.$root.$on('globalUpdateCaptureFolder', (folder) => {
+ this.galleryFolder = folder
+ })
},
methods: {
@@ -228,7 +239,13 @@ export default {
},
itemList: function () {
- return this.noScanCaptureList.concat(this.scanList)
+ if (this.galleryFolder) {
+ console.log(this.allScans[this.galleryFolder].captureList)
+ return this.allScans[this.galleryFolder].captureList
+ }
+ else {
+ return this.noScanCaptureList.concat(this.scanList)
+ }
},
filteredItems: function () {