diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-15 09:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 09:48:06 +0200 |
commit | 14d2364fc69e0222133115c55a36286986006098 (patch) | |
tree | 9e9b3c41ef742bbe87ca1632b292c67043051957 /src/features/todos/containers | |
parent | 5.6.3-nightly.34 [skip ci] (diff) | |
download | ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.gz ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.zst ferdium-app-14d2364fc69e0222133115c55a36286986006098.zip |
chore: update eslint setup (#2074)
Diffstat (limited to 'src/features/todos/containers')
-rw-r--r-- | src/features/todos/containers/TodosScreen.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/features/todos/containers/TodosScreen.js b/src/features/todos/containers/TodosScreen.js index c2b6a5af4..536810d2d 100644 --- a/src/features/todos/containers/TodosScreen.js +++ b/src/features/todos/containers/TodosScreen.js | |||
@@ -10,24 +10,31 @@ import { TODOS_MIN_WIDTH } from '../../../config'; | |||
10 | import { todoActions } from '../actions'; | 10 | import { todoActions } from '../actions'; |
11 | import ServicesStore from '../../../stores/ServicesStore'; | 11 | import ServicesStore from '../../../stores/ServicesStore'; |
12 | 12 | ||
13 | @inject('stores', 'actions') @observer | 13 | @inject('stores', 'actions') |
14 | @observer | ||
14 | class TodosScreen extends Component { | 15 | class TodosScreen extends Component { |
15 | render() { | 16 | render() { |
16 | if (!todosStore || !todosStore.isFeatureActive || todosStore.isTodosPanelForceHidden) { | 17 | if ( |
18 | !todosStore || | ||
19 | !todosStore.isFeatureActive || | ||
20 | todosStore.isTodosPanelForceHidden | ||
21 | ) { | ||
17 | return null; | 22 | return null; |
18 | } | 23 | } |
19 | 24 | ||
20 | return ( | 25 | return ( |
21 | <ErrorBoundary> | 26 | <ErrorBoundary> |
22 | <TodosWebview | 27 | <TodosWebview |
23 | isTodosServiceActive={this.props.stores.services.isTodosServiceActive || false} | 28 | isTodosServiceActive={ |
29 | this.props.stores.services.isTodosServiceActive || false | ||
30 | } | ||
24 | isVisible={todosStore.isTodosPanelVisible} | 31 | isVisible={todosStore.isTodosPanelVisible} |
25 | togglePanel={todoActions.toggleTodosPanel} | 32 | togglePanel={todoActions.toggleTodosPanel} |
26 | handleClientMessage={todoActions.handleClientMessage} | 33 | handleClientMessage={todoActions.handleClientMessage} |
27 | setTodosWebview={(webview) => todoActions.setTodosWebview({ webview })} | 34 | setTodosWebview={webview => todoActions.setTodosWebview({ webview })} |
28 | width={todosStore.width} | 35 | width={todosStore.width} |
29 | minWidth={TODOS_MIN_WIDTH} | 36 | minWidth={TODOS_MIN_WIDTH} |
30 | resize={(width) => todoActions.resize({ width })} | 37 | resize={width => todoActions.resize({ width })} |
31 | userAgent={todosStore.userAgent} | 38 | userAgent={todosStore.userAgent} |
32 | todoUrl={todosStore.todoUrl} | 39 | todoUrl={todosStore.todoUrl} |
33 | isTodoUrlValid={todosStore.isTodoUrlValid} | 40 | isTodoUrlValid={todosStore.isTodoUrlValid} |