ui: Force download of XML files
This commit is contained in:
parent
c74eadc801
commit
68dad00930
@ -27,7 +27,7 @@
|
|||||||
</CardBody>
|
</CardBody>
|
||||||
<ListGroup flush class="border-secondary">
|
<ListGroup flush class="border-secondary">
|
||||||
{#each files as file, index}
|
{#each files as file, index}
|
||||||
<ListGroupItem tag="a" href={file.path} target={(file.name.endsWith(".txt") || file.name.endsWith(".jpg") || file.name.endsWith(".png") || file.name.endsWith(".pdf"))?"_blank":"_self"} class="d-flex">
|
<ListGroupItem tag="a" href={file.path} target={(file.name.endsWith(".txt") || file.name.endsWith(".xml") || file.name.endsWith(".jpg") || file.name.endsWith(".png") || file.name.endsWith(".pdf"))?"_blank":"_self"} class="d-flex">
|
||||||
<h1 class="me-3">
|
<h1 class="me-3">
|
||||||
<Icon name="arrow-down-circle" />
|
<Icon name="arrow-down-circle" />
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user