19 lines
485 B
JavaScript
19 lines
485 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
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
|
|
});
|