mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
improve (exif): the more button only appear when there's something to show
This commit is contained in:
parent
5afe004d11
commit
3e32c4e1f0
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Exif extends React.Component {
|
|||
metadata['PixelXDimension'],
|
||||
metadata['PixelYDimension']
|
||||
] || null,
|
||||
all: metadata
|
||||
all: Object.keys(metadata).length === 0 ? null : metadata
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue