Skip to content

Commit 50c7c8b

Browse files
authored
Merge pull request #21200 from dannon/upload-drop-pair
[25.1] Drop single 'pair' from standard upload UI, preferring lists, or list…
2 parents ddbe102 + e064326 commit 50c7c8b

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

client/src/components/Upload/DefaultBox.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ const queue = ref(createUploadQueue());
7676
const selectedItemsForModal = ref<HDASummary[]>([]);
7777
7878
const counterNonRunning = computed(() => counterAnnounce.value + counterSuccess.value + counterError.value);
79-
const creatingPairedType = computed(
80-
() => props.isCollection && ["list:paired", "paired"].includes(collectionType.value),
81-
);
79+
const creatingPairedType = computed(() => props.isCollection && collectionType.value === "list:paired");
8280
const enableBuild = computed(
8381
() =>
8482
!isRunning.value &&

client/src/components/Upload/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export const AUTO_EXTENSION = {
1414
};
1515
export const COLLECTION_TYPES = [
1616
{ id: "list", text: "List" },
17-
{ id: "paired", text: "Pair" },
1817
{ id: "list:paired", text: "List of Pairs" },
1918
];
2019
export const DEFAULT_DBKEY = "?";

0 commit comments

Comments
 (0)