diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-06 13:58:33 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-06 13:58:33 +0100 |
commit | 2448cc6160647d5ecaf88f7bf3754993a322d180 (patch) | |
tree | 5bc196e8c37810a5e263d99611f292d35813dd5c | |
parent | Merge branch 'develop' into fix/import-screen-toggles (diff) | |
download | ferdium-app-2448cc6160647d5ecaf88f7bf3754993a322d180.tar.gz ferdium-app-2448cc6160647d5ecaf88f7bf3754993a322d180.tar.zst ferdium-app-2448cc6160647d5ecaf88f7bf3754993a322d180.zip |
fix linting errors
-rw-r--r-- | src/components/auth/Import.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/components/auth/Import.js b/src/components/auth/Import.js index 7de571896..6bfd2d70f 100644 --- a/src/components/auth/Import.js +++ b/src/components/auth/Import.js | |||
@@ -41,20 +41,20 @@ export default class Import extends Component { | |||
41 | intl: intlShape, | 41 | intl: intlShape, |
42 | }; | 42 | }; |
43 | 43 | ||
44 | config = { | 44 | config = { |
45 | fields: { | 45 | fields: { |
46 | import: [...this.props.services.filter(s => s.recipe).map(s => ({ | 46 | import: [...this.props.services.filter(s => s.recipe).map(s => ({ |
47 | fields: { | 47 | fields: { |
48 | add: { | 48 | add: { |
49 | default: true, | 49 | default: true, |
50 | options: s, | 50 | options: s, |
51 | }, | ||
52 | }, | 51 | }, |
53 | }))], | 52 | }, |
54 | }, | 53 | }))], |
55 | }; | 54 | }, |
55 | }; | ||
56 | 56 | ||
57 | form = new Form(this.config, this.context.intl); | 57 | form = new Form(this.config, this.context.intl); |
58 | 58 | ||
59 | submit(e) { | 59 | submit(e) { |
60 | const { services } = this.props; | 60 | const { services } = this.props; |