Add release date and episode # columns to admin lesson list with inline date editing; use local time for release dates; v2.8.2
Publish Container / build (push) Successful in 18m28s
Publish Container / build (push) Successful in 18m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0ff0b32b97
commit
b1695b2b59
6 files changed
+58
-8
No files matched your search
@@ -312,9 +312,11 @@ export function isSectionReleased(section) {
|
||||
|
||||
export function redactUnreleasedSection(section) {
|
||||
if (!section || typeof section !== 'object') return section
|
||||
if (isSectionReleased(section)) return section
|
||||
// episodeNumber is an admin-only reference and is never sent to the public site
|
||||
const { episodeNumber: _episodeNumber, ...publicSection } = section
|
||||
if (isSectionReleased(section)) return publicSection
|
||||
return {
|
||||
...section,
|
||||
...publicSection,
|
||||
passageText: '',
|
||||
commentary: '',
|
||||
greekNotes: [],
|
||||
|
||||
Reference in new issue
Block a user