mirror of
https://github.com/mue/mue.git
synced 2026-07-14 04:24:01 +02:00
fix: various fixes for offline mode and background components
This commit is contained in:
@@ -57,7 +57,7 @@ export default function PhotoInformation(props) {
|
||||
<span>{props.info.resolution || 'N/A'}</span>
|
||||
<Photographer/>
|
||||
<span>{photographer}</span>
|
||||
{(localStorage.getItem('downloadbtn') === 'true') ?
|
||||
{(localStorage.getItem('downloadbtn') === 'true') && !props.info.offline && !props.info.photographerURL ?
|
||||
<>
|
||||
<Download/>
|
||||
<span className='download' onClick={() => downloadImage(props.info)}>{language.download}</span>
|
||||
|
||||
Reference in New Issue
Block a user