feat: complete notdienst planning, quick wins and notifications

This commit is contained in:
t.indorf
2026-10-12 15:34:09 +02:00
parent b915857951
commit 00f602a7aa
50 changed files with 2443 additions and 513 deletions
@@ -760,23 +760,18 @@ function NotdienstRow({
</>
)}
</div>
) : notdienst.canRequestSwap ? (
) : null}
{notdienst.canRequestSwap ? (
<NotdienstSwapDialog
target={notdienst}
options={notdienstSwapOptions}
trigger={
<Button
size="sm"
variant="outline"
className="h-8 px-2.5 text-xs"
>
<Button size="sm" variant="outline" className="h-8 px-2.5 text-xs">
Tausch anfragen
</Button>
}
/>
) : (
<div className="w-9 h-9" />
)}
) : !isAdmin ? <div className="w-9 h-9" /> : null}
</div>
</div>
);