<!-- PhotoPrism indexer status pill. Driven by the indexer store, which
     subscribes to PhotoPrism's WS channel. Delegates rendering to StatusPill. -->
<script lang="ts">
	import { indexer } from '$lib/stores/indexer.svelte';
	import StatusPill from './StatusPill.svelte';
</script>

<StatusPill active={indexer.active} label={indexer.label} detail={indexer.detail} />
