From 540a6f4a21e4de5d28a613105435b05f108a400e Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Mon, 5 Dec 2016 14:47:30 +0100 Subject: [PATCH] Add support for stopped status --- client/scripts/components/Sidebar/StatusFilters.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/scripts/components/Sidebar/StatusFilters.js b/client/scripts/components/Sidebar/StatusFilters.js index 5da80a8f..042bf477 100644 --- a/client/scripts/components/Sidebar/StatusFilters.js +++ b/client/scripts/components/Sidebar/StatusFilters.js @@ -10,6 +10,7 @@ import ErrorIcon from '../Icons/ErrorIcon'; import EventTypes from '../../constants/EventTypes'; import Inactive from '../Icons/Inactive'; import SidebarFilter from './SidebarFilter'; +import StopIcon from '../Icons/StopIcon'; import TorrentFilterStore from '../../stores/TorrentFilterStore'; import TorrentStore from '../../stores/TorrentStore'; import UIActions from '../../actions/UIActions'; @@ -82,6 +83,14 @@ class StatusFilters extends React.Component { }, { label: this.props.intl.formatMessage({ + id: 'filter.status.stopped', + defaultMessage: 'Stopped' + }), + slug: 'stopped', + icon: + }, + { + label: this.props.intl.formatMessage({ id: 'filter.status.active', defaultMessage: 'All' }),