mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-20 03:12:44 +00:00
Fix New & EditPage issues after rebase
This commit is contained in:
@@ -383,6 +383,7 @@ const EditPage = createClass({
|
||||
</div>
|
||||
</Nav.item>;
|
||||
}
|
||||
}
|
||||
|
||||
if(this.state.isSaving){
|
||||
return <Nav.item className='save' icon='fas fa-spinner fa-spin'>saving...</Nav.item>;
|
||||
@@ -406,9 +407,7 @@ const EditPage = createClass({
|
||||
const shareLink = this.processShareId();
|
||||
const systems = this.props.brew.systems.length > 0 ? ` [${this.props.brew.systems.join(' - ')}]` : '';
|
||||
const title = `${this.props.brew.title} ${systems}`;
|
||||
const text = `Hey guys! I've been working on this homebrew. I'd love your feedback. Check it out.
|
||||
|
||||
**[Homebrewery Link](https://homebrewery.naturalcrit.com/share/${shareLink})**`;
|
||||
const text = `Hey guys! I've been working on this homebrew. I'd love your feedback. Check it out. **[Homebrewery Link](https://homebrewery.naturalcrit.com/share/${shareLink})**`;
|
||||
|
||||
return `https://www.reddit.com/r/UnearthedArcana/submit?title=${encodeURIComponent(title)}&text=${encodeURIComponent(text)}`;
|
||||
},
|
||||
|
||||
@@ -260,6 +260,7 @@ const NewPage = createClass({
|
||||
</div>
|
||||
</Nav.item>;
|
||||
}
|
||||
}
|
||||
|
||||
if(this.state.isSaving){
|
||||
return <Nav.item icon='fas fa-spinner fa-spin' className='save'>
|
||||
|
||||
Reference in New Issue
Block a user