perf(webui): only check for file existence for UpObjct banners

refactor/sveltekit
Tomáš Mládek 2023-11-29 14:00:12 +01:00
parent e9caac0bea
commit b5c3e1758b
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
let hasFile = false;
$: {
if ($entityInfo?.t == "Hash") {
if ($entityInfo?.t == "Hash" && banner) {
fetch(api.getRaw(address), {
method: "HEAD",
}).then((response) => {