Skip to content

Commit

Permalink
Update server.html
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro authored Feb 10, 2024
1 parent bf90b92 commit 4cc1039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ <h1 id="name">Name</h1>
f = f.data;
document.getElementById('files').innerHTML = f.map(o => {
o = o.attributes;
return `<label>${o.is_file} ${o.name} - ${formatBytes(o.size)}</label>`
}).join('')
return `<label>${o.is_file ? '' : ''} ${o.name} - ${formatBytes(o.size)}</label>`
}).join('<br>')
})
</script>
</body>
Expand Down

0 comments on commit 4cc1039

Please sign in to comment.