diff --git a/src/BIMDataFileManager/BIMDataFileManager.vue b/src/BIMDataFileManager/BIMDataFileManager.vue
index 7cc8d5e..5482315 100644
--- a/src/BIMDataFileManager/BIMDataFileManager.vue
+++ b/src/BIMDataFileManager/BIMDataFileManager.vue
@@ -66,16 +66,8 @@
v-if="navigationShown"
class="bimdata-file-manager__navigation__content"
>
-
-
+
+
@@ -443,7 +436,7 @@ export default {
}
}, SUCCESS_TIME);
},
- onDowload(entity) {
+ onDownload(entity) {
try {
downloadFiles(getFlattenTree(entity), {
projectId: this.projectId,
@@ -570,6 +563,9 @@ export default {
isFileSelected(file) {
return this.selectedFiles.some(({ document }) => file === document);
},
+ selectedPdfPage(file) {
+ return this.selectedFiles.find(({ document }) => file === document)?.pdfPage;
+ },
onBreadcrumClick(step) {
this.currentFolder = step;
},
diff --git a/src/BIMDataFileManager/components/FileCard.vue b/src/BIMDataFileManager/components/FileCard.vue
index a116bab..d0623ba 100644
--- a/src/BIMDataFileManager/components/FileCard.vue
+++ b/src/BIMDataFileManager/components/FileCard.vue
@@ -34,9 +34,9 @@
>
-
+
-
+
+
+ {{ `page ${pdfPage.page_number}` }}
+
@@ -191,6 +194,10 @@ export default {
type: Boolean,
default: false,
},
+ pdfPage: {
+ type: Object,
+ default: null
+ },
},
emits: [
"rename",
@@ -279,7 +286,7 @@ export default {
},
onDownloadClick() {
this.menuDisplayed = false;
- this.$emit("dowload");
+ this.$emit("download");
},
onDeleteClick() {
this.menuDisplayed = false;
@@ -373,6 +380,18 @@ export default {
top: 6px;
right: 6px;
}
+
+ .selection-box {
+ position: relative;
+ .selection-text {
+ position: absolute;
+ right: 0;
+ margin-top: 12px;
+ margin-right: 6px;
+ font-size: 12px;
+ white-space: nowrap;
+ }
+ }
}
}