mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 04:52:40 +00:00
Add Share ID to lock notification
This commit is contained in:
@@ -3,7 +3,14 @@ const React = require('react');
|
||||
const createClass = require('create-react-class');
|
||||
|
||||
const LockNotification = createClass({
|
||||
displayName : 'LockNotification',
|
||||
displayName : 'LockNotification',
|
||||
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
shareId : 0
|
||||
};
|
||||
},
|
||||
|
||||
getInitialState : function() {
|
||||
return {
|
||||
disableLock : ()=>{}
|
||||
@@ -11,7 +18,7 @@ const LockNotification = createClass({
|
||||
},
|
||||
|
||||
removeLock : function() {
|
||||
alert('Not yet implemented');
|
||||
alert(`Not yet implemented - ID ${this.props.shareId}`);
|
||||
},
|
||||
|
||||
render : function(){
|
||||
|
||||
Reference in New Issue
Block a user