Skip to content

Commit

Permalink
[frontend] Empty SHA256/SHA1 field when modifying File Observable (#8973
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ValentinBouzinFiligran authored Nov 14, 2024
1 parent 0dc1991 commit 96bbd5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const StixCyberObservableDetailsComponent = ({ stixCyberObservable }) => {
</Grid>
{observableAttributes.map((observableAttribute) => {
if (observableAttribute.key === 'hashes') {
return observableAttribute.value.map((hash) => (
return observableAttribute.value.filter(({ hash }) => hash !== '').map((hash) => (
<Grid key={hash.algorithm} item xs={6}>
<Typography variant="h3" gutterBottom={true}>
{hash.algorithm} - hashes
Expand Down

0 comments on commit 96bbd5a

Please sign in to comment.