mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 12:52:38 +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 createClass = require('create-react-class');
|
||||||
|
|
||||||
const LockNotification = createClass({
|
const LockNotification = createClass({
|
||||||
displayName : 'LockNotification',
|
displayName : 'LockNotification',
|
||||||
|
|
||||||
|
getDefaultProps : function() {
|
||||||
|
return {
|
||||||
|
shareId : 0
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
getInitialState : function() {
|
getInitialState : function() {
|
||||||
return {
|
return {
|
||||||
disableLock : ()=>{}
|
disableLock : ()=>{}
|
||||||
@@ -11,7 +18,7 @@ const LockNotification = createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
removeLock : function() {
|
removeLock : function() {
|
||||||
alert('Not yet implemented');
|
alert(`Not yet implemented - ID ${this.props.shareId}`);
|
||||||
},
|
},
|
||||||
|
|
||||||
render : function(){
|
render : function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user