refactor getVorgaenge to return vorgaenge as objects

This commit is contained in:
2025-07-10 08:40:36 +02:00
parent 307894c980
commit ffa34b3b61
2 changed files with 24 additions and 5 deletions

View File

@@ -46,12 +46,12 @@
<ul role="list" class="divide-y divide-gray-100">
{#each caseList as item}
<li>
<a href="/list/{item.name}?token={item.token}" class="flex justify-between gap-x-6 py-5">
<a href="/list/{item.token}?token={item.pw}" class="flex justify-between gap-x-6 py-5">
<div class="flex gap-x-4">
<!-- Ordner -->
<Folder />
<div class="min-w-0 flex-auto">
<span class="text-sm font-semibold leading-6 text-gray-900">{item[1]}</span>
<span class="text-sm font-semibold leading-6 text-gray-900">{item.name}</span>
<!-- Delete button -->
<button
style="padding: 2px"