Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import template from './sw-promotion-v2-wizard-shipping-discount-trigger.html.twig'; |
||
2 | |||
3 | const { Component } = Shopware; |
||
|
|||
4 | |||
5 | Component.extend('sw-promotion-v2-wizard-shipping-discount-trigger', 'sw-wizard-page', { |
||
6 | template, |
||
7 | |||
8 | data() { |
||
9 | return { |
||
10 | modalTitle: this.$tc('sw-promotion-v2.detail.shipping-discount-trigger.modalTitle') |
||
11 | }; |
||
12 | } |
||
13 | }); |
||
14 |
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.