salix/modules/item/front/waste/index/index.js

20 lines
483 B
JavaScript
Raw Normal View History

import ngModule from '../../module';
import Section from 'salix/components/section';
import './style.scss';
export default class Controller extends Section {
constructor($element, $) {
super($element, $);
}
async $onInit() {
this.$state.go('item.index');
window.location.href = 'https://grafana.verdnatura.es/d/TTNXQAxVk';
}
}
ngModule.vnComponent('vnItemWasteIndex', {
template: require('./index.html'),
controller: Controller
});