refactor(MediaLibraryPage): remove unused lcLabel function for lifecycle state
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
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:
1 parent
b2b7bd423d
commit
0edc86e05a
1 file changed
-7
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user