fix: delete annotations and participants before experiment, skip calibration when disabled, remove Startseite link from annotation view

This commit is contained in:
smaubio
2026-04-10 07:54:21 +02:00
parent 12c3ffc556
commit ab2c1f7220
3 changed files with 8 additions and 15 deletions

View File

@@ -189,9 +189,6 @@ export default function AnnotationPageView({
<div className="flex-1 flex items-center justify-center">
<div className="text-center">
<p className="text-gray-600">Unbekannter Annotation-Typ: {viewType}</p>
<Link href="/" className="text-blue-600 hover:underline mt-4 inline-block">
Startseite
</Link>
</div>
</div>
</div>
@@ -274,12 +271,7 @@ export default function AnnotationPageView({
>
{sidebarOpen ? '✕' : '☰'}
</button>
<Link
href="/"
className="text-sm px-3 py-1.5 bg-gray-100 hover:bg-gray-200 text-gray-700 rounded-md transition-colors"
>
Startseite
</Link>
{Object.keys(dialectScores).length > 0 && (
<button
onClick={() => setIsCalibrationModalOpen(true)}