mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
parent
bd4624c0ab
commit
43cd103248
@ -19,6 +19,7 @@ import QueueStatusCell from './QueueStatusCell';
|
|||||||
import TimeleftCell from './TimeleftCell';
|
import TimeleftCell from './TimeleftCell';
|
||||||
import RemoveQueueItemModal from './RemoveQueueItemModal';
|
import RemoveQueueItemModal from './RemoveQueueItemModal';
|
||||||
import styles from './QueueRow.css';
|
import styles from './QueueRow.css';
|
||||||
|
import formatBytes from 'Utilities/Number/formatBytes';
|
||||||
|
|
||||||
class QueueRow extends Component {
|
class QueueRow extends Component {
|
||||||
|
|
||||||
@ -280,6 +281,12 @@ class QueueRow extends Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name === 'size') {
|
||||||
|
return (
|
||||||
|
<TableRowCell key={name}>{formatBytes(size)}</TableRowCell>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (name === 'outputPath') {
|
if (name === 'outputPath') {
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name}>
|
<TableRowCell key={name}>
|
||||||
|
@ -122,6 +122,12 @@ export const defaultState = {
|
|||||||
isSortable: true,
|
isSortable: true,
|
||||||
isVisible: false
|
isVisible: false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'size',
|
||||||
|
label: 'Size',
|
||||||
|
isSortable: true,
|
||||||
|
isVisibile: false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'outputPath',
|
name: 'outputPath',
|
||||||
label: 'Output Path',
|
label: 'Output Path',
|
||||||
|
Loading…
Reference in New Issue
Block a user