From 678e193ba0ac49ddd21e7552a20eef54092d50a3 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Wed, 8 May 2024 00:49:17 +0700 Subject: [PATCH] Fix typo --- 2 | 126 ------------------ .../routes/(loggedin)/app/crons/+page.svelte | 4 +- .../routes/(loggedin)/app/prober/+page.svelte | 4 +- 3 files changed, 2 insertions(+), 132 deletions(-) delete mode 100644 2 diff --git a/2 b/2 deleted file mode 100644 index 2d82f0a..0000000 --- a/2 +++ /dev/null @@ -1,126 +0,0 @@ - - -
-

Crons

-
- -
-
- -
- -
-
- -
- - - - ID - - - - Run Every - Last Run - Next Run - Run Time - - - - - - - - - - - - {#each $rows as row (row.id)} - - - - - - - - - - - - - {/each} - -
TitleSlugDescriptionStateEnabled
- - - -
{row.id}{row.title}{row.slug}{row.description}{row.run_every}s - {format(row.last_run * 1000, 'PP HH:mm')}
- {formatDistance(row.last_run * 1000, new Date(), { addSuffix: true })} -
- {format(row.next_run * 1000, 'PP HH:mm')}
- {formatDistance(row.next_run * 1000, new Date(), { addSuffix: true })} -
{row.run_time}{row.cron_state ? 'RUNNING' : 'IDLE'}{row.is_enabled ? 'ENABLED' : 'DISABLED'}
-
- -
- -
-
diff --git a/frontend/src/routes/(loggedin)/app/crons/+page.svelte b/frontend/src/routes/(loggedin)/app/crons/+page.svelte index 975a66f..2290970 100644 --- a/frontend/src/routes/(loggedin)/app/crons/+page.svelte +++ b/frontend/src/routes/(loggedin)/app/crons/+page.svelte @@ -38,9 +38,7 @@ id="reloadDt" name="reloadDt" class="variant-filled-primary btn" - on:click={() => handler.invalidate()} - > - >Reload handler.invalidate()}>Reload diff --git a/frontend/src/routes/(loggedin)/app/prober/+page.svelte b/frontend/src/routes/(loggedin)/app/prober/+page.svelte index 5eae831..424fd22 100644 --- a/frontend/src/routes/(loggedin)/app/prober/+page.svelte +++ b/frontend/src/routes/(loggedin)/app/prober/+page.svelte @@ -134,9 +134,7 @@ id="reloadDt" name="reloadDt" class="variant-filled-primary btn" - on:click={() => handler.invalidate()} - > - >Reload handler.invalidate()}>Reload