0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 11:12:39 +00:00

Add brew title to Not an Author page

This commit is contained in:
G.Ambatte
2023-06-25 20:13:13 +12:00
parent f175323221
commit 04eb7d0556
2 changed files with 4 additions and 2 deletions

View File

@@ -55,7 +55,9 @@ const errorIndex = (props)=>{
as an author by opening the brew, viewing the Properties tab, and adding your username
to the "invited authors" list. You can then try to access this document again.
Current Authors:
**Brew Title:** ${props.brew.brewTitle || 'Unable to show title'}
**Current Authors:**
${props.brew.authors?.map((author)=>{return `- ${author}`;}).join('\n') || 'Unable to list authors'}
`,