diff --git a/frontend/src/Activity/Queue/QueueRow.js b/frontend/src/Activity/Queue/QueueRow.js index bd2c88e66..08201aa3c 100644 --- a/frontend/src/Activity/Queue/QueueRow.js +++ b/frontend/src/Activity/Queue/QueueRow.js @@ -19,6 +19,7 @@ import QueueStatusCell from './QueueStatusCell'; import TimeleftCell from './TimeleftCell'; import RemoveQueueItemModal from './RemoveQueueItemModal'; import styles from './QueueRow.css'; +import formatBytes from 'Utilities/Number/formatBytes'; class QueueRow extends Component { @@ -280,6 +281,12 @@ class QueueRow extends Component { ); } + if (name === 'size') { + return ( + {formatBytes(size)} + ); + } + if (name === 'outputPath') { return ( diff --git a/frontend/src/Store/Actions/queueActions.js b/frontend/src/Store/Actions/queueActions.js index 721e28a9f..a7e454a69 100644 --- a/frontend/src/Store/Actions/queueActions.js +++ b/frontend/src/Store/Actions/queueActions.js @@ -122,6 +122,12 @@ export const defaultState = { isSortable: true, isVisible: false }, + { + name: 'size', + label: 'Size', + isSortable: true, + isVisibile: false + }, { name: 'outputPath', label: 'Output Path',