19 lines
507 B
JavaScript
19 lines
507 B
JavaScript
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
|
|
});
|