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 committed Nov 13, 2024
1 parent 864bcea commit 975ee63
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 975ee63

Please sign in to comment.