2863 - Added monitor module #618
|
@ -1,18 +1,8 @@
|
||||||
import ngModule from '../module';
|
import ngModule from '../module';
|
||||||
import Section from 'salix/components/section';
|
import Section from 'salix/components/section';
|
||||||
import './style.scss';
|
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', {
|
ngModule.vnComponent('vnMonitorIndex', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
controller: Controller
|
controller: Section
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue