Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Filters } from "@databiosphere/findable-ui/lib/common/entities";
import { useFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useFileManifest";

export interface ExportEntityProps {
filters: Filters;
}

/**
* Empty wrapper component that triggers calls to populate the selected data in the side channel. Required only
* for choose export method functionality (as individual export methods trigger the required calls themsleves).
* @param {Object} props - The properties object.
* @param {ExportEntityProps} props.filters - The base filters for displaying the selected data related.
* @returns Fragment.
*/
export const ExportEntity = ({ filters }: ExportEntityProps): JSX.Element => {
useFileManifest(filters);
return <></>;
};
1 change: 1 addition & 0 deletions app/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export { FileNameCell } from "./Detail/components/GeneratedMatricesTables/compon
export { GeneratedMatricesTables } from "./Detail/components/GeneratedMatricesTables/generatedMatricesTables";
export { AtlasSection } from "./Detail/components/Section/components/AtlasSection/atlasSection";
export { ManifestDownloadEntity as AnVILManifestDownloadEntity } from "./Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity";
export { ExportEntity as AnVILExportEntity } from "./Export/components/AnVILExplorer/components/ExportEntity/exportEntity";
export { BioNetworkCell } from "./Index/components/BioNetworkCell/bioNetworkCell";
export { ConsentCodesCell } from "./Index/components/ConsentCodesCell/consentCodesCell";
export { CopyCell } from "./Index/components/CopyCell/copyCell";
Expand Down
Loading
Loading