mirror of
https://github.com/smartyellow/status.git
synced 2025-01-18 21:47:58 +00:00
17 lines
350 B
Svelte
17 lines
350 B
Svelte
<script>
|
|
import TileRawValue from './tile-rawvalue.svelte';
|
|
|
|
export let services;
|
|
export let color;
|
|
export let value;
|
|
</script>
|
|
|
|
{#each Object.entries(services) as [ id, service ] (id)}
|
|
<TileRawValue
|
|
title={service.name.en}
|
|
date={service.lastBeat.date ? new Date(service.lastBeat.date) : false}
|
|
{value}
|
|
{color}
|
|
/>
|
|
{/each}
|