diff --git a/frontend/src/Activity/Queue/QueueRow.js b/frontend/src/Activity/Queue/QueueRow.js index f87b2b859..ff5f07899 100644 --- a/frontend/src/Activity/Queue/QueueRow.js +++ b/frontend/src/Activity/Queue/QueueRow.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import formatBytes from 'Utilities/Number/formatBytes'; import { icons, kinds } from 'Helpers/Props'; import IconButton from 'Components/Link/IconButton'; import SpinnerIconButton from 'Components/Link/SpinnerIconButton'; @@ -204,6 +205,14 @@ class QueueRow extends Component { ); } + if (name === 'size') { + return ( + + {formatBytes(size)} + + ); + } + if (name === 'title') { return ( diff --git a/frontend/src/Store/Actions/queueActions.js b/frontend/src/Store/Actions/queueActions.js index 2062b3f25..94145a187 100644 --- a/frontend/src/Store/Actions/queueActions.js +++ b/frontend/src/Store/Actions/queueActions.js @@ -104,6 +104,12 @@ export const defaultState = { isSortable: true, isVisible: false }, + { + name: 'size', + label: 'Size', + isSortable: true, + isVisible: false + }, { name: 'title', label: 'Release Title',