mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-22 05:46:26 -08:00
fuck me
This commit is contained in:
parent
9f47a0f6ea
commit
a5404ecc13
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
<div class="fileList">
|
<div class="fileList">
|
||||||
<!-- Probably wildly inefficient but who cares, I just wanna get this over with -->
|
<!-- Probably wildly inefficient but who cares, I just wanna get this over with -->
|
||||||
{#each $files.filter(f => f&&(f.filename.toLowerCase().includes(query.toLowerCase()) || f.id.toLowerCase().includes(query.toLowerCase()) || f.tag.includes(query.toLowerCase()))) as file (file.id)}
|
{#each $files.filter(f => f&&(f.filename.toLowerCase().includes(query.toLowerCase()) || f.id.toLowerCase().includes(query.toLowerCase()) || f.tag?.includes(query.toLowerCase()))) as file (file.id)}
|
||||||
<div class="flFile" transition:fade={{duration:200}} animate:flip={{duration:200}}>
|
<div class="flFile" transition:fade={{duration:200}} animate:flip={{duration:200}}>
|
||||||
<button class="hitbox" on:click={window.open(`/download/${file.id}`)}></button> <!-- this is bad, but I'm lazy -->
|
<button class="hitbox" on:click={window.open(`/download/${file.id}`)}></button> <!-- this is bad, but I'm lazy -->
|
||||||
<div class="flexCont">
|
<div class="flexCont">
|
||||||
|
|
Loading…
Reference in a new issue