Total Complexity | 6 |
Complexity/F | 1 |
Lines of Code | 39 |
Function Count | 6 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import template from './sw-settings-search.html.twig'; |
||
2 | |||
3 | const { Component } = Shopware; |
||
|
|||
4 | |||
5 | Component.register('sw-settings-search', { |
||
6 | template, |
||
7 | |||
8 | data: () => { |
||
9 | return { |
||
10 | productSearchConfigs: { |
||
11 | andLogic: true, |
||
12 | minSearchLength: 2 |
||
13 | }, |
||
14 | isLoading: false |
||
15 | }; |
||
16 | }, |
||
17 | |||
18 | created() { |
||
19 | this.createdComponent(); |
||
20 | }, |
||
21 | |||
22 | methods: { |
||
23 | createdComponent() { |
||
24 | this.getProductSearchConfigs(); |
||
25 | }, |
||
26 | |||
27 | getProductSearchConfigs() { |
||
28 | // TODO: NEXT-12994 Implement new "Search" settings module with API integration. |
||
29 | }, |
||
30 | |||
31 | onChangeLanguage() { |
||
32 | // TODO: NEXT-12994 Implement new "Search" settings module with API integration. |
||
33 | }, |
||
34 | |||
35 | onSaveSearchSettings() { |
||
36 | // TODO: NEXT-12994 Implement new "Search" settings module with API integration. |
||
37 | } |
||
38 | } |
||
39 | }); |
||
40 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.