0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 07:22:44 +00:00

Pass ID to Lock Notification

This commit is contained in:
G.Ambatte
2024-05-10 08:05:29 +12:00
parent f6daeb4acd
commit bf38f95d25

View File

@@ -394,7 +394,7 @@ const EditPage = createClass({
<div className='content'>
{this.state.displayLockMessage ?
<LockNotification message={this.props.brew.lock.editMessage} disableLock={()=>this.setState({ displayLockMessage: false })}/>
<LockNotification shareId={this.props.brew.shareId} message={this.props.brew.lock.editMessage} disableLock={()=>this.setState({ displayLockMessage: false })}/>
:
<SplitPane onDragFinish={this.handleSplitMove} ref='pane'>
<Editor