mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 12:07:03 +00:00
fixed published request
This commit is contained in:
1 parent
0e5c91733d
commit
9247967f93
1 file changed
+2
-4
@@ -79,8 +79,7 @@ const errorIndex = (props)=>{
|
|||||||
|
|
||||||
**Current Authors:** ${props.brew.authors?.map((author)=>{return `[${author}](/user/${author})`;}).join(', ') || 'Unable to list authors'}
|
**Current Authors:** ${props.brew.authors?.map((author)=>{return `[${author}](/user/${author})`;}).join(', ') || 'Unable to list authors'}
|
||||||
|
|
||||||
${props.brew.published ? `[Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`:
|
[Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`,
|
||||||
'This brew is unpublished, therefore we cannot grant you its share page URL.'}`,
|
|
||||||
|
|
||||||
// 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`
|
||||||
@@ -95,8 +94,7 @@ const errorIndex = (props)=>{
|
|||||||
|
|
||||||
**Current Authors:** ${props.brew.authors?.map((author)=>{return `[${author}](/user/${author})`;}).join(', ') || 'Unable to list authors'}
|
**Current Authors:** ${props.brew.authors?.map((author)=>{return `[${author}](/user/${author})`;}).join(', ') || 'Unable to list authors'}
|
||||||
|
|
||||||
${props.brew.published ? `[Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`:
|
[Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`,
|
||||||
'This brew is unpublished, therefore we cannot grant you its share page URL.'}`,
|
|
||||||
|
|
||||||
|
|
||||||
// Brew load error
|
// Brew load error
|
||||||
|
|||||||
Reference in new issue
Block a user