Don't show padding files
This commit is contained in:
@@ -52,7 +52,7 @@ State.load(onState)
|
||||
// the dock icon and drag+drop.
|
||||
function onState (err, _state) {
|
||||
if (err) return onError(err)
|
||||
state = _state
|
||||
state = window.state = _state // Make available for easier debugging
|
||||
|
||||
// Create controllers
|
||||
controllers = {
|
||||
|
||||
@@ -476,7 +476,7 @@ function renderPlayerControls (state) {
|
||||
'color-stop(' + (volume * 100) + '%, #727272))'
|
||||
}
|
||||
|
||||
//TODO: dcposch change the range input to use value / onChanged instead of
|
||||
// TODO: dcposch change the range input to use value / onChanged instead of
|
||||
// "readonly" / onMouse[Down,Move,Up]
|
||||
elements.push((
|
||||
<div key='volume' className='volume float-left'>
|
||||
|
||||
@@ -221,6 +221,7 @@ module.exports = class TorrentList extends React.Component {
|
||||
} else {
|
||||
// We do know the files. List them and show download stats for each one
|
||||
var fileRows = torrentSummary.files
|
||||
.filter((file) => !file.path.includes('/.____padding_file/'))
|
||||
.map((file, index) => ({ file, index }))
|
||||
.sort(function (a, b) {
|
||||
if (a.file.name < b.file.name) return -1
|
||||
|
||||
Reference in New Issue
Block a user