Skip to content

Commit 58892a6

Browse files
frano-mFran McDade
andauthored
feat: exports via main button don't include orphans (#4296) (#4306)
* feat: exports via main button don't include orphans (#4296) * chore: update findable to v17.0.0 (#4296) --------- Co-authored-by: Fran McDade <franmcdade@Frans-MacBook-Pro.local>
1 parent a3d3190 commit 58892a6

File tree

3 files changed

+12
-26
lines changed

3 files changed

+12
-26
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1-
import { MANIFEST_DOWNLOAD_FORMAT } from "@databiosphere/findable-ui/lib/apis/azul/common/entities";
21
import { FileManifestDownload } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload";
32
import { ManifestDownloadEntityProps } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity";
4-
import { FILE_MANIFEST_TYPE } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities";
5-
import { useRequestFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useRequestFileManifest";
3+
import { useFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useFileManifest";
64

75
export const ManifestDownloadEntity = ({
86
filters,
9-
}: Omit<
10-
ManifestDownloadEntityProps,
11-
"fileManifestType" | "metadataFilters"
12-
>): JSX.Element => {
13-
useRequestFileManifest(
14-
FILE_MANIFEST_TYPE.ENTITY_DOWNLOAD_MANIFEST,
15-
MANIFEST_DOWNLOAD_FORMAT.COMPACT,
16-
filters,
17-
undefined
18-
);
19-
return (
20-
<>
21-
<FileManifestDownload filters={filters} />
22-
</>
23-
);
7+
}: Pick<ManifestDownloadEntityProps, "filters">): JSX.Element => {
8+
useFileManifest(filters);
9+
return <FileManifestDownload filters={filters} />;
2410
};

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"check-system-status:anvil-cmg": "esrun e2e/anvil/anvil-check-system-status.ts"
3636
},
3737
"dependencies": {
38-
"@databiosphere/findable-ui": "15.0.2",
38+
"@databiosphere/findable-ui": "17.0.0",
3939
"@emotion/react": "^11.13.3",
4040
"@emotion/styled": "^11.13.0",
4141
"@mdx-js/loader": "^3.0.1",

0 commit comments

Comments
 (0)