Skip to content

Commit

Permalink
sidebar: Add Checking filter view
Browse files Browse the repository at this point in the history
Bug: Flood-UI/flood#493
Cherry-Pick: Flood-UI/flood#868
Signed-off-by: Jesse Chan <jc@linux.com>
  • Loading branch information
damolp authored and jesec committed Aug 5, 2020
1 parent fc7a744 commit 3226703
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion client/src/javascript/components/sidebar/StatusFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import EventTypes from '../../constants/EventTypes';
import Inactive from '../icons/Inactive';
import SidebarFilter from './SidebarFilter';
import StopIcon from '../icons/StopIcon';
import SpinnerIcon from '../icons/SpinnerIcon';
import TorrentFilterStore from '../../stores/TorrentFilterStore';
import UIActions from '../../actions/UIActions';

Expand All @@ -37,6 +38,14 @@ class StatusFilters extends React.Component {
slug: 'downloading',
icon: <DownloadSmall />,
},
{
label: this.props.intl.formatMessage({
id: 'filter.status.checking',
defaultMessage: 'Checking',
}),
slug: 'checking',
icon: <SpinnerIcon />,
},
{
label: this.props.intl.formatMessage({
id: 'filter.status.completed',
Expand All @@ -56,7 +65,7 @@ class StatusFilters extends React.Component {
{
label: this.props.intl.formatMessage({
id: 'filter.status.active',
defaultMessage: 'All',
defaultMessage: 'Active',
}),
slug: 'active',
icon: <Active />,
Expand Down

0 comments on commit 3226703

Please sign in to comment.