mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 14:27:10 +00:00
Add Share ID to lock notification
This commit is contained in:
1 parent
bf38f95d25
commit
632efe8b9f
1 file changed
+8
-1
@@ -4,6 +4,13 @@ const createClass = require('create-react-class');
|
||||
|
||||
const LockNotification = createClass({
|
||||
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