mirror of
https://github.com/mue/mue.git
synced 2026-07-22 16:27:32 +02:00
fix: background filters, addons ui, photoinformation
This commit is contained in:
@@ -74,7 +74,7 @@ export default function PhotoInformation({ info, url, api }) {
|
||||
);
|
||||
}
|
||||
|
||||
const downloadEnabled = (localStorage.getItem('downloadbtn') === 'true') && !info.offline && !info.photographerURL;
|
||||
const downloadEnabled = (localStorage.getItem('downloadbtn') === 'true') && !info.offline && !info.photographerURL && api;
|
||||
const downloadBackground = () => {
|
||||
if (downloadEnabled) {
|
||||
downloadImage(info);
|
||||
|
||||
Reference in New Issue
Block a user