| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 14 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import template from './sw-landing-page-detail-cms.html.twig'; |
||
| 2 | import './sw-landing-page-detail-cms.scss'; |
||
| 3 | |||
| 4 | const { Component } = Shopware; |
||
|
|
|||
| 5 | |||
| 6 | Component.register('sw-landing-page-detail-cms', { |
||
| 7 | template, |
||
| 8 | |||
| 9 | computed: { |
||
| 10 | cmsPage() { |
||
| 11 | return Shopware.State.get('cmsPageState').currentPage; |
||
| 12 | } |
||
| 13 | } |
||
| 14 | }); |
||
| 15 |
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.