diff --git a/src/dashboard/src/pages/ChainCode/ChainCode.js b/src/dashboard/src/pages/ChainCode/ChainCode.js index 4bc1097ba..ec1dbb0db 100644 --- a/src/dashboard/src/pages/ChainCode/ChainCode.js +++ b/src/dashboard/src/pages/ChainCode/ChainCode.js @@ -186,6 +186,12 @@ class ChainCode extends PureComponent { this.setState({ newFile: file }); }; + handleSelectRows = rows => { + this.setState({ + selectedRows: rows, + }); + }; + render() { const { selectedRows, diff --git a/src/dashboard/src/pages/Channel/Channel.js b/src/dashboard/src/pages/Channel/Channel.js index f3cc84bbe..6886d55ab 100644 --- a/src/dashboard/src/pages/Channel/Channel.js +++ b/src/dashboard/src/pages/Channel/Channel.js @@ -479,6 +479,12 @@ class Channel extends PureComponent { }); }; + handleSelectRows = rows => { + this.setState({ + selectedRows: rows, + }); + }; + render() { const { selectedRows, modalVisible, channelData, updateModalVisible, newFile } = this.state; const { diff --git a/src/dashboard/src/pages/Network/Network.js b/src/dashboard/src/pages/Network/Network.js index a94c74dbf..690458473 100644 --- a/src/dashboard/src/pages/Network/Network.js +++ b/src/dashboard/src/pages/Network/Network.js @@ -110,6 +110,12 @@ class Network extends PureComponent { } }; + handleSelectRows = rows => { + this.setState({ + selectedRows: rows, + }); + }; + render() { const { selectedRows } = this.state; const {