refactor(MediaLibraryPage): remove unused lcLabel function for lifecycle state
All checks were successful
Deploy Development / deploy (push) Successful in 36s
Test Suite / pytest-backend (push) Successful in 34s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 10s
Test Suite / playwright-tests (push) Successful in 57s

This commit is contained in:
Lars 2026-05-11 11:37:46 +02:00
parent b2b7bd423d
commit 0edc86e05a

View File

@ -261,13 +261,6 @@ function visLabel(v) {
return v || '—'
}
function lcLabel(lc) {
if (lc === 'active') return 'Aktiv'
if (lc === 'trash_soft') return 'Papierkorb'
if (lc === 'trash_hidden') return 'Ausgeblendet'
return lc || '—'
}
function JournalBoolField({ label, val, context }) {
if (val === null || val === undefined) return null
return (