when_condition_function
What happened
when() received a function as its condition. A function is always truthy, so the first branch would always show.
What to do
Pass a signal or a computed value, for example when(computed(() => items.get().length === 0), Empty).
The arguments of the specific occurrence are in the query string of the URL the error gave you.