Skip to content

Commit

Permalink
Remove ambiguous summary information.
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowmoose committed Jan 15, 2020
1 parent d6c9130 commit c10ab03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion redditdownloader/web/js/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Home extends React.Component {
let failed_display = null;
if(this.state.progress && 'summary' in this.state.progress){
let summ = this.state.progress.summary;
// ({summ.total_urls} total)
progress_display = <details open={'open'}>
<summary className={'center'}>
Total Summary:
Expand All @@ -91,7 +92,7 @@ class Home extends React.Component {
<b>Files Downloaded: </b>{summ.total_files_dl}
</div>
<div className={[summ.total_urls_failed > 0 ? 'red': 'orange', 'clickable', 'hover_shadow'].join(' ')} onClick={this._openFailed}>
<b>Failed URLs: </b>{summ.total_urls_failed} ({summ.total_urls} total)
<b>Failed URLs: </b>{summ.total_urls_failed}
</div>
</details>
}else if(this.state.progress && this.state.progress.running){
Expand Down

0 comments on commit c10ab03

Please sign in to comment.