[ui] fix file links
parent
abbc38a1f7
commit
6e3ce3b1ba
|
@ -37,9 +37,9 @@
|
|||
<Marquee>
|
||||
<div class="label" class:resolving title={label}>
|
||||
{#if isFile}
|
||||
<UpLink to={{ entity: address }}>
|
||||
{address}
|
||||
</UpLink>
|
||||
<a href="/api/raw/{address}" target="_blank">
|
||||
{label}
|
||||
</a>
|
||||
{:else if link}
|
||||
<UpLink to={{ entity: address }}>
|
||||
{label}
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<h2>
|
||||
<Address
|
||||
{address}
|
||||
isFile={$backlinks.some(([_, e]) => e.attribute === "FILE_IS")}
|
||||
isFile={Object.values(allTypes).some((t) => t.name === "BLOB")}
|
||||
/>
|
||||
</h2>
|
||||
<BlobPreview {address} />
|
||||
|
|
Loading…
Reference in New Issue