From 6f5df10413962eb2663d9e8cb80feddb00718fab Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 12 May 2021 13:06:36 +0200 Subject: [PATCH] Removed controller --- modules/monitor/front/index/index.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/monitor/front/index/index.js b/modules/monitor/front/index/index.js index 9be66d6d8..4807cf1c9 100644 --- a/modules/monitor/front/index/index.js +++ b/modules/monitor/front/index/index.js @@ -1,18 +1,8 @@ import ngModule from '../module'; import Section from 'salix/components/section'; import './style.scss'; -export default class Controller extends Section { - openSummary(supplier, event) { - if (event.defaultPrevented) return; - event.preventDefault(); - event.stopPropagation(); - - this.supplierSelected = supplier; - this.$.dialogSummarySupplier.show(); - } -} ngModule.vnComponent('vnMonitorIndex', { template: require('./index.html'), - controller: Controller + controller: Section });