diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e2105ce..ee385cf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## UNRELEASED + +### Adds + +* Add a scrollbar to the duplicate import modal to handle too many duplicates, and fixed the "Type" column to display the correct document type. + ## 2.2.0 (2024-07-12) ### Adds diff --git a/ui/apos/components/AposDuplicateImportModal.vue b/ui/apos/components/AposDuplicateImportModal.vue index 9860a61d..ddab1b03 100644 --- a/ui/apos/components/AposDuplicateImportModal.vue +++ b/ui/apos/components/AposDuplicateImportModal.vue @@ -21,7 +21,7 @@
- + + + aposDocId); }, docLabel(doc) { - const moduleOptions = apos.modules[this.type]; + const moduleOptions = apos.modules[doc.type]; return moduleOptions?.label ? this.$t(moduleOptions?.label) @@ -323,6 +325,14 @@ export default { display: flex; flex-direction: column; align-items: baseline; + max-height: 210px; + overflow-y: auto; +} + +.apos-import-duplicate__section thead { + position: sticky; + top: 0; + background-color: var(--a-background-primary); } .apos-import-duplicate__section .apos-table__header {