fixed amount of bars in progress bar

This commit is contained in:
bill bittner 2018-01-11 22:15:49 -08:00
parent 1461a8b494
commit 74247b7647
2 changed files with 1 additions and 3 deletions

View file

@ -79,7 +79,7 @@ class PublishForm extends React.Component {
console.log('publish response:', xhr.response); console.log('publish response:', xhr.response);
if (xhr.status === 200) { if (xhr.status === 200) {
console.log('publish complete!'); console.log('publish complete!');
that.props.onPublishStatusChange(SUCCESS, JSON.parse(xhr.response).message); that.props.onPublishStatusChange(SUCCESS, JSON.parse(xhr.response).message.lbryTx.claim_id);
} else if (xhr.status === 502) { } else if (xhr.status === 502) {
that.props.onPublishStatusChange(FAILED, 'Spee.ch was not able to get a response from the LBRY network.'); that.props.onPublishStatusChange(FAILED, 'Spee.ch was not able to get a response from the LBRY network.');
} else { } else {

View file

@ -18,10 +18,8 @@
<body id="main-body"> <body id="main-body">
<script src="/assets/js/generalFunctions.js"></script> <script src="/assets/js/generalFunctions.js"></script>
<script src="/assets/js/validationFunctions.js"></script> <script src="/assets/js/validationFunctions.js"></script>
<script src="/assets/js/publishFileFunctions.js"></script>
<script src="/assets/js/authFunctions.js"></script> <script src="/assets/js/authFunctions.js"></script>
<script src="/assets/js/loginFunctions.js"></script> <script src="/assets/js/loginFunctions.js"></script>
<script src="/assets/js/dropzoneFunctions.js"></script>
<script src="/assets/js/createChannelFunctions.js"></script> <script src="/assets/js/createChannelFunctions.js"></script>
<script src="/assets/js/navBarFunctions.js"></script> <script src="/assets/js/navBarFunctions.js"></script>
{{> navBar}} {{> navBar}}