diff options
Diffstat (limited to 'src/features/todos/containers/TodosScreen.js')
-rw-r--r-- | src/features/todos/containers/TodosScreen.js | 3 |
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'; | |||
7 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; | 7 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; |
8 | import { TODOS_MIN_WIDTH, todosStore } from '..'; | 8 | import { TODOS_MIN_WIDTH, todosStore } from '..'; |
9 | import { todoActions } from '../actions'; | 9 | import { todoActions } from '../actions'; |
10 | import ServicesStore from '../../../stores/ServicesStore'; | ||
10 | 11 | ||
11 | @inject('stores', 'actions') @observer | 12 | @inject('stores', 'actions') @observer |
12 | class TodosScreen extends Component { | 13 | class 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; | |||
37 | TodosScreen.wrappedComponent.propTypes = { | 39 | TodosScreen.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 | }; |