migration to Svelte 5
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
nemunaire 2025-01-04 15:52:29 +01:00
commit 1378636a98
28 changed files with 164 additions and 206 deletions

View file

@ -9,12 +9,9 @@
import { actions } from '$lib/stores/actions';
export let flush = false;
let { flush = false, class: className = '' } = $props();
export { className as class };
let className = '';
let refreshInProgress = false;
let refreshInProgress = $state(false);
function refresh_actions() {
refreshInProgress = true;
actions.refresh().then(() => {
@ -29,13 +26,12 @@
</h2>
<div>
{#if !flush}
<Button
<a
href="routines/actions"
color="outline-info"
size="sm"
class="btn btn-sm btn-outline-info"
>
<Icon name="pencil" />
</Button>
</a>
{/if}
<Button
color="outline-dark"