mirror of
https://github.com/cupcakearmy/ora.git
synced 2025-09-06 08:10:40 +00:00
limits
This commit is contained in:
10
src/dashboard/components/Rules.svelte
Normal file
10
src/dashboard/components/Rules.svelte
Normal file
@@ -0,0 +1,10 @@
|
||||
<script>
|
||||
import dj from 'dayjs'
|
||||
import { Logs } from '../../shared/db.js'
|
||||
|
||||
export let rules = []
|
||||
</script>
|
||||
|
||||
{#each rules as rule}
|
||||
<div>{dj.duration(...rule.limit).humanize()} / {dj.duration(...rule.every).humanize()}</div>
|
||||
{/each}
|
Reference in New Issue
Block a user