blob: 8fafa7f229d718c510ee3c70ec3033ec47929081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<script lang="ts">
/**
* Shown when a leaf names a view this client has not registered — the tree
* is data and can arrive from a backend (plan 02) that knows views this
* build lacks. A titled placeholder, never a crash.
*/
let { viewId }: { viewId: string } = $props();
</script>
<div class="flex flex-col gap-1 rounded-lg bg-base-200 p-3" data-testid="fallback-tile">
<h3 class="text-xs font-semibold uppercase opacity-60">{viewId}</h3>
<p class="text-sm opacity-60">View not registered.</p>
</div>
|