mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-29 08:59:59 -07:00
This error reporting comes in two forms: - Errors updating the UI - Errors with user actions The former is displayed as one error until a refresh succeeds again. The latter creates an number of persistent errors until they are cleared by the user.
13 lines
338 B
Svelte
13 lines
338 B
Svelte
<script lang="ts">
|
|
import DeleteButton from './DeleteButton.svelte';
|
|
</script>
|
|
|
|
<div class="flex flex-row justify-end gap-2">
|
|
<DeleteButton
|
|
text="Delete ALL Recordings"
|
|
prompt={`Are you sure you want to delete ALL recordings?`}
|
|
url={`/api/delete-all-recordings`}
|
|
name="all recodings"
|
|
/>
|
|
</div>
|