feat: favourite background now shows all photo info

This commit is contained in:
David Ralph
2021-05-08 17:12:02 +01:00
parent da6ebb8c60
commit 63e49b79cd
3 changed files with 18 additions and 6 deletions

View File

@@ -55,11 +55,11 @@ export default function PhotoInformation(props) {
<h1>{language.information}</h1>
<hr/>
<Location/>
<span>{props.info.location || 'N/A'}</span>
<span id='infoLocation'>{props.info.location || 'N/A'}</span>
<Camera/>
<span>{props.info.camera || 'N/A'}</span>
<span id='infoCamera'>{props.info.camera || 'N/A'}</span>
<Resolution/>
<span>{props.info.resolution || 'N/A'}</span>
<span id='infoResolution'>{props.info.resolution || 'N/A'}</span>
<Photographer/>
<span>{photographer}</span>
{(localStorage.getItem('downloadbtn') === 'true') && !props.info.offline && !props.info.photographerURL ?