-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: file and summary request params #4102
- Loading branch information
1 parent
7080737
commit 6cb1182
Showing
6 changed files
with
151 additions
and
73 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
app/components/Export/components/AnVILExplorer/components/ExportEntity/exportEntity.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <></>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters