mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2024-04-21 12:32:08 +00:00
improve (exif): the more button only appear when there's something to show
This commit is contained in:
@@ -88,7 +88,7 @@ class Exif extends React.Component {
|
||||
metadata['PixelXDimension'],
|
||||
metadata['PixelYDimension']
|
||||
] || null,
|
||||
all: metadata
|
||||
all: Object.keys(metadata).length === 0 ? null : metadata
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user