mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-06 21:47:43 +00:00
File size won't be bytes anymore
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{path}}</td>
|
||||
<td>{{size}}</td>
|
||||
<td>{{fileSize size}}</td>
|
||||
<td>{{quality.quality.name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@@ -18,3 +18,7 @@ Handlebars.registerHelper("debug", function(optionalValue) {
|
||||
console.log(optionalValue);
|
||||
}
|
||||
});
|
||||
|
||||
Handlebars.registerHelper("fileSize", function(size) {
|
||||
return size.bytes();
|
||||
});
|
||||
Reference in New Issue
Block a user