0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-19 05:32:42 +00:00

Add Share link to Unauthorized Edit access message

This commit is contained in:
G.Ambatte
2023-10-14 20:01:21 +13:00
parent 0845234f2f
commit 392a3db3c2

View File

@@ -75,7 +75,9 @@ const errorIndex = (props)=>{
**Brew Title:** ${props.brew.brewTitle || 'Unable to show title'} **Brew Title:** ${props.brew.brewTitle || 'Unable to show title'}
**Current Authors:** ${props.brew.authors?.map((author)=>{return `${author}`;}).join(', ') || 'Unable to list authors'}`, **Current Authors:** ${props.brew.authors?.map((author)=>{return `${author}`;}).join(', ') || 'Unable to list authors'}
[Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`,
// User is not signed in; must be a user on the Authors List // User is not signed in; must be a user on the Authors List
'04' : dedent` '04' : dedent`