Watch me add a download button and not even check if it works
This commit is contained in:
@@ -32,7 +32,7 @@ export let edit_window
|
|||||||
{:else if state.viewer_type === "text"}
|
{:else if state.viewer_type === "text"}
|
||||||
<Text state={state}/>
|
<Text state={state}/>
|
||||||
{:else}
|
{:else}
|
||||||
<File state={state}/>
|
<File state={state} on:download/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user