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
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:
parent
b2b7bd423d
commit
0edc86e05a
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user