diff --git a/ui/js/page/publish.js b/ui/js/page/publish.js
index 90dbe4504..0e6c0478c 100644
--- a/ui/js/page/publish.js
+++ b/ui/js/page/publish.js
@@ -8,7 +8,7 @@ import lbryio from '../lbryio.js';
import Modal from '../component/modal.js';
var PublishPage = React.createClass({
- _requiredFields: ['meta_title', 'name', 'bid'],
+ _requiredFields: ['meta_title', 'name', 'bid', 'tos_agree'],
_requestPublishReward: function() {
lbryio.call('reward', 'list', {}).then(function(userRewards) {
@@ -314,6 +314,11 @@ var PublishPage = React.createClass({
newChannelBid: event.target.value,
});
},
+ handleTOSChange: function(event) {
+ this.setState({
+ TOSAgreed: event.target.checked,
+ });
+ },
handleCreateChannelClick: function (event) {
if (this.state.newChannelName.length < 5) {
this.refs.newChannelName.showError('LBRY channel names must be at least 4 characters in length.');
@@ -544,6 +549,17 @@ var PublishPage = React.createClass({
: '' }
+ Terms of Service
+