Skip to content

Commit

Permalink
REbase into paired/unpaired...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 31, 2024
1 parent 2ea7e5b commit 6c6c5bc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
11 changes: 11 additions & 0 deletions client/src/components/Collections/PairedOrUnpairedComponents.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import CellDiscardComponent from "./common/CellDiscardComponent.vue";
import CellStatusComponent from "./common/CellStatusComponent.vue";
import PairedDatasetCellComponent from "./common/PairedDatasetCellComponent.vue";
import CollectionCreator from "@/components/Collections/common/CollectionCreator.vue";

export const components = {
CellDiscardComponent,
CellStatusComponent,
PairedDatasetCellComponent,
CollectionCreator,
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import { usePairingSummary } from "./common/usePairingSummary";
import { type AutoPairingResult, autoPairWithCommonFilters } from "./pairing";
import AutoPairing from "./common/AutoPairing.vue";
import CellDiscardComponent from "./common/CellDiscardComponent.vue";
import CellStatusComponent from "./common/CellStatusComponent.vue";
import PairedDatasetCellComponent from "./common/PairedDatasetCellComponent.vue";
import CollectionCreator from "@/components/Collections/common/CollectionCreator.vue";
type CollectionElementIdentifier = components["schemas"]["CollectionElementIdentifier"];
Expand Down Expand Up @@ -520,18 +517,13 @@ const context = {
</script>

<script lang="ts">
// eslint-disable-next-line import/first
import { components as VueComponents } from "./PairedOrUnpairedComponents";
// defineExpose should work for exposing PairedDatasetCellComponent to AG Grid
// but doesn't seem to and it has been reported as an issue with Vue 2.7.
export default {
components: {
CollectionCreator,
// eslint-disable-next-line vue/no-unused-components
PairedDatasetCellComponent,
// eslint-disable-next-line vue/no-unused-components
CellStatusComponent,
// eslint-disable-next-line vue/no-unused-components
CellDiscardComponent,
},
components: VueComponents,
};
</script>

Expand Down

0 comments on commit 6c6c5bc

Please sign in to comment.