From 5df35ea8e918df2ef93794d860d41e71fd25d35a Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 20 Jan 2021 14:01:57 +0100 Subject: [PATCH] Removed unused code --- modules/order/front/catalog-view/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/order/front/catalog-view/index.js b/modules/order/front/catalog-view/index.js index 3800c792f..6f2cead8f 100644 --- a/modules/order/front/catalog-view/index.js +++ b/modules/order/front/catalog-view/index.js @@ -2,15 +2,9 @@ import ngModule from '../module'; import Component from 'core/lib/component'; import './style.scss'; -class Controller extends Component { - get rating() { - return 5; - } -} - ngModule.vnComponent('vnOrderCatalogView', { template: require('./index.html'), - controller: Controller, + controller: Component, bindings: { order: '<', model: '<'