File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed
src/Resources/app/administration/src
nuonic-plugin-installer-index Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 11import template from './nuonic-extension-card.html.twig' ;
22import './nuonic-extension-card.scss' ;
33
4- const { Component, Mixin } = Shopware ;
5- const { Criteria } = Shopware . Data ;
6- const { Utils, Filter } = Shopware ;
4+ const { Component, Mixin, Filter } = Shopware ;
75
86Component . register ( 'nuonic-extension-card' , {
97 template,
Original file line number Diff line number Diff line change 11import template from './nuonic-plugin-installer-index.html.twig' ;
22import './nuonic-plugin-installer-index.scss' ;
33
4- // eslint-disable-next-line no-undef
54const { Component } = Shopware ;
65const { Criteria } = Shopware . Data ;
76
87Component . register ( 'nuonic-plugin-installer-index' , {
9- template,
8+ template,
109
11- inject : [ 'repositoryFactory' ] ,
10+ inject : [ 'repositoryFactory' ] ,
1211
13- computed : {
14- async packages ( ) {
15- const pluginRepository = this . repositoryFactory . create ( 'nuonic_available_opensource_plugin' )
16- return await pluginRepository . search ( new Criteria )
17- }
18- }
12+ computed : {
13+ async packages ( ) {
14+ const pluginRepository = this . repositoryFactory . create ( 'nuonic_available_opensource_plugin' ) ;
15+ return await pluginRepository . search ( new Criteria ( ) ) ;
16+ } ,
17+ } ,
1918} ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,5 @@ import './service/api/install.service';
88import deDE from './snippet/de-DE' ;
99import enGB from './snippet/en-GB' ;
1010
11- // eslint-disable-next-line no-undef
1211Shopware . Locale . extend ( 'de-DE' , deDE ) ;
13- // eslint-disable-next-line no-undef
1412Shopware . Locale . extend ( 'en-GB' , enGB ) ;
You can’t perform that action at this time.
0 commit comments