fix: hot reload on background

This commit is contained in:
David Ralph
2021-04-14 12:51:11 +01:00
parent 7fbadad649
commit d596670fdb
6 changed files with 52 additions and 55 deletions

View File

@@ -25,7 +25,7 @@ const downloadImage = async (info) => {
export default function PhotoInformation(props) {
const language = window.language.widgets.background;
if (props.info.hidden === true) {
if (props.info.hidden === true || !props.info.credit) {
return null;
}