perf(webui): only check for file existence for UpObjct banners
parent
e9caac0bea
commit
b5c3e1758b
|
@ -41,7 +41,7 @@
|
|||
|
||||
let hasFile = false;
|
||||
$: {
|
||||
if ($entityInfo?.t == "Hash") {
|
||||
if ($entityInfo?.t == "Hash" && banner) {
|
||||
fetch(api.getRaw(address), {
|
||||
method: "HEAD",
|
||||
}).then((response) => {
|
||||
|
|
Loading…
Reference in New Issue