aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/containers/TodosScreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/containers/TodosScreen.js')
-rw-r--r--src/features/todos/containers/TodosScreen.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/features/todos/containers/TodosScreen.js b/src/features/todos/containers/TodosScreen.js
index bc05a587d..884925be6 100644
--- a/src/features/todos/containers/TodosScreen.js
+++ b/src/features/todos/containers/TodosScreen.js
@@ -7,6 +7,7 @@ import TodosWebview from '../components/TodosWebview';
7import ErrorBoundary from '../../../components/util/ErrorBoundary'; 7import ErrorBoundary from '../../../components/util/ErrorBoundary';
8import { TODOS_MIN_WIDTH, todosStore } from '..'; 8import { TODOS_MIN_WIDTH, todosStore } from '..';
9import { todoActions } from '../actions'; 9import { todoActions } from '../actions';
10import ServicesStore from '../../../stores/ServicesStore';
10 11
11@inject('stores', 'actions') @observer 12@inject('stores', 'actions') @observer
12class TodosScreen extends Component { 13class TodosScreen extends Component {
@@ -18,6 +19,7 @@ class TodosScreen extends Component {
18 return ( 19 return (
19 <ErrorBoundary> 20 <ErrorBoundary>
20 <TodosWebview 21 <TodosWebview
22 isTodosServiceActive={this.props.stores.services.isTodosServiceActive || false}
21 isVisible={todosStore.isTodosPanelVisible} 23 isVisible={todosStore.isTodosPanelVisible}
22 togglePanel={todoActions.toggleTodosPanel} 24 togglePanel={todoActions.toggleTodosPanel}
23 handleClientMessage={todoActions.handleClientMessage} 25 handleClientMessage={todoActions.handleClientMessage}
@@ -37,5 +39,6 @@ export default TodosScreen;
37TodosScreen.wrappedComponent.propTypes = { 39TodosScreen.wrappedComponent.propTypes = {
38 stores: PropTypes.shape({ 40 stores: PropTypes.shape({
39 features: PropTypes.instanceOf(FeaturesStore).isRequired, 41 features: PropTypes.instanceOf(FeaturesStore).isRequired,
42 services: PropTypes.instanceOf(ServicesStore).isRequired,
40 }).isRequired, 43 }).isRequired,
41}; 44};