Skip to content

Commit

Permalink
Merge pull request #1282 from silx-kit/h5wasm-filters-display
Browse files Browse the repository at this point in the history
Do not display the compression filters table in h5wasm if no filter
  • Loading branch information
loichuder authored Nov 15, 2022
2 parents f165b2b + 2ded353 commit 79464f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/metadata-viewer/MetadataViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function MetadataViewer(props: Props) {
</MetadataTable>
)}

{isDataset(entity) && entity.filters && (
{isDataset(entity) && entity.filters && entity.filters.length > 0 && (
<MetadataTable title="Compression filters">
<FiltersInfo filters={entity.filters} />
</MetadataTable>
Expand Down

0 comments on commit 79464f8

Please sign in to comment.