diff --git a/src/components/paneDisplayComponents/galleryComponents/scanCard.vue b/src/components/paneDisplayComponents/galleryComponents/scanCard.vue index 107039d4..71414924 100644 --- a/src/components/paneDisplayComponents/galleryComponents/scanCard.vue +++ b/src/components/paneDisplayComponents/galleryComponents/scanCard.vue @@ -2,7 +2,7 @@
- +
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 () {